We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4f0de63 commit cf2fd63Copy full SHA for cf2fd63
libopenage/util/fslike/directory.cpp
@@ -294,7 +294,8 @@ std::ostream &Directory::repr(std::ostream &stream) {
294
}
295
296
Directory Directory::get_temp_directory() {
297
- std::string temp_dir_path = std::filesystem::temp_directory_path() / std::tmpnam(nullptr);
+ std::filesystem::path path = std::filesystem::temp_directory_path() / std::tmpnam(nullptr);
298
+ std::string temp_dir_path = path.string();
299
bool create = true;
300
Directory directory = Directory(temp_dir_path, create);
301
return directory;
0 commit comments