HintsToPot: Fix compilation on MSVC

This commit is contained in:
Zhaofeng Li 2022-12-15 17:07:22 -07:00 committed by SoftFever
parent 580d8d13b8
commit 5e5dea82b6

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