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 0596e81 commit 2769e26Copy full SHA for 2769e26
libs/openFrameworks/utils/ofFilesystem.h
@@ -36,10 +36,10 @@ class path {
36
operator std::filesystem::path() const { return path_; }
37
operator const std::string() const { return path_.string(); }
38
operator std::string() { return path_.string(); }
39
- operator std::wstring() const { return path_.wstring(); }
40
41
operator const std::filesystem::path::value_type*() const { return path_.native().c_str(); }
42
#if defined(TARGET_WIN32)
+ operator std::wstring() const { return path_.wstring(); }
43
operator const char*() const { return to_narrow_cstr(); }
44
#endif
45
0 commit comments