1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-07-17 01:32:21 +02:00

Reduce boost includes further

This commit is contained in:
Ivan Savenko
2025-03-18 15:43:12 +00:00
parent 7a3e1409d0
commit c73116a010
4 changed files with 30 additions and 12 deletions

View File

@ -132,7 +132,7 @@ bool StartBatchCopyDataProgram(
(boost::format("start \"\" /D %1% %2%") % currentPath % (to / exeName)); // Start game in 'currentPath"
const bfs::path bathFilename = to / "_temp.bat";
bfs::ofstream bathFile(bathFilename, bfs::ofstream::trunc | bfs::ofstream::out);
std::ofstream bathFile(bathFilename.c_str(), std::ofstream::trunc | std::ofstream::out);
if (!bathFile.is_open())
return false;
bathFile << (boost::format(base) % exeName % from % (from / "*.*") % to % startGameString.str()).str();