mirror of
https://github.com/wesnoth/wesnoth
synced 2025-04-26 15:33:16 +00:00
campaignd: Fix incorrect use of boost::replace_all()
This commit is contained in:
parent
3b52ae37fc
commit
a686923261
@ -45,7 +45,7 @@ std::string fast_interpolate_variables_into_string(const std::string &str, const
|
||||
|
||||
if(symbols) {
|
||||
for(const plain_string_map::value_type& sym : *symbols) {
|
||||
res = boost::replace_all(res, "$" + sym.first, sym.second);
|
||||
boost::replace_all(res, "$" + sym.first, sym.second);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user