Author: boucman
Date: Sat Aug 6 16:45:17 2011
New Revision: 50621
URL: http://svn.gna.org/viewcvs/wesnoth?rev=50621&view=rev
Log:
change the erase function to proprly compile with boost 1.36
Modified:
trunk/src/unit_map.cpp
Modified: trunk/src/unit_map.cpp
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/src/unit_map.cpp?rev=50621&r1=50620&r2=50621&view=diff
==============================================================================
--- trunk/src/unit_map.cpp (original)
+++ trunk/src/unit_map.cpp Sat Aug 6 16:45:17 2011
@@ -176,7 +176,7 @@
<< " from location: (" << loc << ")\n";
iter->second = NULL;
++num_invalid_;
- lmap_.erase_return_void(i);
+ lmap_.erase(i);
return res;
}
_______________________________________________
Wesnoth-commits mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-commits