opnsense-ports/games/netpanzer/files/patch-src_Lib_ArrayUtil_QueueTemplate.hpp
Franco Fichtner 8cb1a96ede ports: pull in a snapshot of the FreeBSD ports tree
Taken from:	https://github.com/freebsd/freebsd-ports.git
Commit id:	5070672073b68be364139bc6b3a89100bd17d331
2014-11-09 14:03:21 +01:00

11 lines
400 B
C++

--- src/Lib/ArrayUtil/QueueTemplate.hpp.orig 2012-04-24 23:51:05.000000000 +0200
+++ src/Lib/ArrayUtil/QueueTemplate.hpp 2012-04-24 23:51:15.000000000 +0200
@@ -42,7 +42,7 @@
bool enqueue(const TYPE& object )
{
- add( object, (rear + 1) % this->size );
+ this->add( object, (rear + 1) % this->size );
rear = (rear + 1) % this->size;
if ( front == rear )