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 3014a1c commit fea8aa0Copy full SHA for fea8aa0
libs/openFrameworks/utils/ofFilesystem.h
@@ -36,8 +36,7 @@ class path {
36
path& operator=(path&& other) noexcept = default;
37
38
operator std::filesystem::path() const { return path_; }
39
- operator std::string() { return path_.string(); } // should try catch on win
40
- operator const std::filesystem::path::value_type*() const { return path_.native().c_str(); }
+ operator std::filesystem::path::string_type() const { return path_.string(); } // should try catch on win
41
operator const std::filesystem::path::value_type*() const { return path_.c_str(); }
42
43
#if defined(TARGET_WIN32)
0 commit comments