Переглянути джерело

replace undocumented Boost API

fixes building with v1.89
Andrey Filipenkov 1 місяць тому
батько
коміт
2f5e26c897
1 змінених файлів з 2 додано та 2 видалено
  1. 2 2
      scripting/erm/ERMInterpreter.cpp

+ 2 - 2
scripting/erm/ERMInterpreter.cpp

@@ -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();
 		}
 	};