Use fstream from boost::nowide

Fixes build on Boost 1.79.0.
This commit is contained in:
Zhaofeng Li 2022-12-15 17:07:22 -07:00 committed by Lane.Wei
parent 69edbdd01f
commit f4f871c906
2 changed files with 2 additions and 2 deletions

View file

@ -9,7 +9,7 @@
bool write_to_pot(boost::filesystem::path path, const std::vector<std::pair<std::string, std::string>>& data)
{
boost::filesystem::ofstream file(std::move(path), std::ios_base::app);
boost::nowide::ofstream file(std::move(path), std::ios_base::app);
for (const auto& element : data)
{
//Example of .pot element