1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-18 19:49:40 +00:00

games/lordsawar: Fix c++ -fpermissive error on gcc 4.7+

This commit is contained in:
John Marino 2013-10-03 00:47:29 +00:00
parent a72b5736f1
commit dc327c9edf
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=329133

View File

@ -0,0 +1,11 @@
--- src/LocationList.h.orig 2010-05-11 08:50:34.000000000 +0000
+++ src/LocationList.h
@@ -55,7 +55,7 @@ template<class T> class LocationList : p
void add(T t)
{
- push_back(t);
+ this->push_back(t);
d_id[t->getId()] = t;
int size = t->getSize();
for (int i = 0; i < size; i++)