Skip to content

Commit 2769e26

Browse files
wstring windows-only
1 parent 0596e81 commit 2769e26

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libs/openFrameworks/utils/ofFilesystem.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,10 @@ class path {
3636
operator std::filesystem::path() const { return path_; }
3737
operator const std::string() const { return path_.string(); }
3838
operator std::string() { return path_.string(); }
39-
operator std::wstring() const { return path_.wstring(); }
4039

4140
operator const std::filesystem::path::value_type*() const { return path_.native().c_str(); }
4241
#if defined(TARGET_WIN32)
42+
operator std::wstring() const { return path_.wstring(); }
4343
operator const char*() const { return to_narrow_cstr(); }
4444
#endif
4545

0 commit comments

Comments
 (0)