From 5e5dea82b64c0be384dbdee2f00cd4dba4257dbf Mon Sep 17 00:00:00 2001 From: Zhaofeng Li Date: Thu, 15 Dec 2022 17:07:22 -0700 Subject: [PATCH] HintsToPot: Fix compilation on MSVC --- src/hints/HintsToPot.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hints/HintsToPot.cpp b/src/hints/HintsToPot.cpp index 030d6aa9d..b26f2873d 100644 --- a/src/hints/HintsToPot.cpp +++ b/src/hints/HintsToPot.cpp @@ -9,7 +9,7 @@ bool write_to_pot(boost::filesystem::path path, const std::vector>& 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