Use fstream from boost::nowide

Fixes build on Boost 1.79.0.
This commit is contained in:
Zhaofeng Li authored and SoftFever committed 2022-12-25 14:29:24 +08:00
1 parent a30361ec69
commit ab03a10621
2 files changed
+2 -2

No files matched your search

+1 -1
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