mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-23 22:37:55 +02:00
replace undocumented Boost API
fixes building with v1.89
This commit is contained in:
@@ -77,7 +77,7 @@ namespace ERMConverter
|
||||
}
|
||||
else if(isMacro())
|
||||
{
|
||||
return boost::to_string(boost::format("M['%s']") % macro);
|
||||
return (boost::format("M['%s']") % macro).str();
|
||||
}
|
||||
else if(isSpecial() && (name.size() == 1))
|
||||
{
|
||||
@@ -206,7 +206,7 @@ namespace ERMConverter
|
||||
}
|
||||
std::string operator()(const int & flag) const
|
||||
{
|
||||
return boost::to_string(boost::format("F['%d']") % flag);
|
||||
return (boost::format("F['%d']") % flag).str();
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user