HintsToPot: Fix compilation on MSVC

This commit is contained in:
Zhaofeng Li authored and Lane.Wei committed 2022-12-16 22:51:07 -05:00
1 parent 9cfe3c6016
commit c6ac8193e3
1 file changed
+1 -1
+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