HintsToPot: Fix compilation on MSVC

This commit is contained in:
Zhaofeng Li
2022-12-25 15:31:32 +08:00
committed by SoftFever
parent 580d8d13b8
commit 5e5dea82b6
+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::nowide::ofstream file(std::move(path), std::ios_base::app);
boost::nowide::ofstream file(path.string(), std::ios_base::app);
for (const auto& element : data)
{
//Example of .pot element