Skip to content

Commit 0cab869

Browse files
not native on std::filesystem::path::value_type*()
1 parent d765bdf commit 0cab869

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

libs/openFrameworks/utils/ofFilesystem.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ class path {
3838
operator std::filesystem::path() const { return path_; }
3939
operator std::string() { return path_.string(); } // should try catch on win
4040
operator const std::filesystem::path::value_type*() const { return path_.native().c_str(); }
41+
operator const std::filesystem::path::value_type*() const { return path_.c_str(); }
4142

4243
#if defined(TARGET_WIN32)
4344
operator std::wstring() const { return path_.wstring(); }

0 commit comments

Comments
 (0)