#include <boost/property_tree/ptree.hpp>
#include <boost/algorithm/string/replace.hpp>
#include <boost/range/adaptor/transformed.hpp>
-#include <boost/lexical_cast.hpp>
#include <boost/iterator/iterator_facade.hpp>
#include <map>
if (!ctx) // Lazy
ctx.reset(new scoped_context);
- ctx->replace_msg("/" + u8(pair.first) + "[" + boost::lexical_cast<std::string>(++by_name[pair.first]) + "]");
+ ctx->replace_msg("/" + u8(pair.first) + "[" + std::to_string(++by_name[pair.first]) + "]");
return pair;
}
};