♻️ do not include experimental headers
This commit is contained in:
2 files changed
+2
-10
No files matched your search
@@ -32,11 +32,7 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef JSON_HAS_CPP_17
|
#ifdef JSON_HAS_CPP_17
|
||||||
#if __has_include(<optional>)
|
#include <optional>
|
||||||
#include <optional>
|
|
||||||
#elif __has_include(<experimental/optional>)
|
|
||||||
#include <experimental/optional>
|
|
||||||
#endif
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// disable float-equal warnings on GCC/clang
|
// disable float-equal warnings on GCC/clang
|
||||||
|
|||||||
@@ -2109,11 +2109,7 @@ JSON_HEDLEY_DIAGNOSTIC_POP
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef JSON_HAS_CPP_17
|
#ifdef JSON_HAS_CPP_17
|
||||||
#if __has_include(<optional>)
|
#include <optional>
|
||||||
#include <optional>
|
|
||||||
#elif __has_include(<experimental/optional>)
|
|
||||||
#include <experimental/optional>
|
|
||||||
#endif
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// disable float-equal warnings on GCC/clang
|
// disable float-equal warnings on GCC/clang
|
||||||
|
|||||||
Reference in new issue
Block a user