fix path to string conversion

This commit is contained in:
mhochsteger@cerbsim.com 2021-11-04 13:00:30 +01:00
parent ae2a05b6f2
commit b258d7bd65

View File

@ -118,7 +118,7 @@ namespace ngcore
auto path = std::filesystem::temp_directory_path(); auto path = std::filesystem::temp_directory_path();
std::string filename = ".temp_netgen_file_"+ToString(counter++)+"_"+ToString(GetTimeCounter()); std::string filename = ".temp_netgen_file_"+ToString(counter++)+"_"+ToString(GetTimeCounter());
path.append(filename); path.append(filename);
return path; return path.string();
} }
} // namespace ngcore } // namespace ngcore