summaryrefslogtreecommitdiff
path: root/games/lordsawar/files/patch-src__LocationList.h
diff options
context:
space:
mode:
Diffstat (limited to 'games/lordsawar/files/patch-src__LocationList.h')
-rw-r--r--games/lordsawar/files/patch-src__LocationList.h17
1 files changed, 0 insertions, 17 deletions
diff --git a/games/lordsawar/files/patch-src__LocationList.h b/games/lordsawar/files/patch-src__LocationList.h
deleted file mode 100644
index e03ad2771696..000000000000
--- a/games/lordsawar/files/patch-src__LocationList.h
+++ /dev/null
@@ -1,17 +0,0 @@
---- src/LocationList.h.orig 2010-05-11 08:50:34 UTC
-+++ src/LocationList.h
-@@ -74,8 +74,14 @@
- for (int j = 0; j < s; j++)
- {
- Vector<int> pos = t->getPos() + Vector<int>(i,j);
-+#if defined(_LIBCPP_VERSION)
-+ typename PositionMap::const_iterator it = d_object.find(pos);
-+ if (it != d_object.end())
-+ d_object.erase(it);
-+#else
- if (d_object.find(pos) != d_object.end())
- d_object.erase(d_object.find(pos));
-+#endif
- }
- delete t;
- }