freebsd-ports/games/netpanzer/files/patch-src_Lib_ArrayUtil_QueueTemplate.hpp
Guido Falsi 93e78ee1ae Update to version 0.8.4 [1]
This update also fixes the build with clang.

Reported by:	Kevin Zheng <kevinz5000@gmail.com> [1]
Approved by:	crees (mentor)
2012-04-25 23:00:28 +00: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 )