Apply requested fix to patch #1036 (file #4117)...

...to be compatible with Boost 1.33
This commit is contained in:
Ignacio R. Morelle 2008-04-02 14:17:47 +00:00
parent b13924981f
commit c2c95361d9

View file

@ -40,8 +40,8 @@
#include "unit_types.hpp"
#include "wml_separators.hpp"
#include "util.hpp"
#include "serialization/string_utils.hpp"
#include <boost/algorithm/string/join.hpp>
#include <algorithm>
#include <cassert>
#include <sstream>
@ -2418,7 +2418,7 @@ private:
}
const std::vector<std::string> l = get_aliases(cmd);
if (!l.empty()) {
ss << " (aliases: " << boost::algorithm::join(l," ") << ")";
ss << " (aliases: " << utils::join(l,' ') << ")";
}
print("help", ss.str());
}