Author: mordante
Date: Sat Apr 18 00:47:03 2009
New Revision: 34998
URL: http://svn.gna.org/viewcvs/wesnoth?rev=34998&view=rev
Log:
Fix a compiler warning for LOW_MEM.
Modified:
trunk/src/statistics_dialog.cpp
Modified: trunk/src/statistics_dialog.cpp
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/src/statistics_dialog.cpp?rev=34998&r1=34997&r2=34998&view=diff
==============================================================================
--- trunk/src/statistics_dialog.cpp (original)
+++ trunk/src/statistics_dialog.cpp Sat Apr 18 00:47:03 2009
@@ -21,7 +21,11 @@
namespace {
+#ifdef LOW_MEM
+std::vector<std::string> create_unit_table(const
statistics::stats::str_int_map& m, unsigned int /*team*/)
+#else
std::vector<std::string> create_unit_table(const
statistics::stats::str_int_map& m, unsigned int team)
+#endif
{
std::vector<std::string> table;
for(statistics::stats::str_int_map::const_iterator i = m.begin(); i !=
m.end(); ++i) {
_______________________________________________
Wesnoth-commits mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-commits