Skip to content

Commit 71239ca

Browse files
committed
fix constants
1 parent 450ea67 commit 71239ca

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

libs/openFrameworks/utils/ofConstants.h

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -428,7 +428,6 @@ typedef TESSindex ofIndexType;
428428
#if defined(OF_USE_EXPERIMENTAL_FS)
429429
// C++17 experimental fs support
430430
#include <experimental/filesystem>
431-
432431
namespace std {
433432
namespace experimental{
434433
namespace filesystem {
@@ -442,12 +441,8 @@ typedef TESSindex ofIndexType;
442441
}
443442
#else
444443
#include <filesystem>
445-
#if defined(OF_HAS_CPP17)
446-
// Regular C++17 fs support
447-
namespace filesystem = std::filesystem;
448-
#else
444+
namespace of {
449445
namespace filesystem = std::filesystem;
450-
#endif
451446
}
452447
#endif
453448
#else //not OF_USING_STD_FS

0 commit comments

Comments
 (0)