do not include experimental headers

parent ebb63bd1
......@@ -32,11 +32,7 @@
#endif
#ifdef JSON_HAS_CPP_17
#if __has_include(<optional>)
#include <optional>
#elif __has_include(<experimental/optional>)
#include <experimental/optional>
#endif
#include <optional>
#endif
// disable float-equal warnings on GCC/clang
......
......@@ -2109,11 +2109,7 @@ JSON_HEDLEY_DIAGNOSTIC_POP
#endif
#ifdef JSON_HAS_CPP_17
#if __has_include(<optional>)
#include <optional>
#elif __has_include(<experimental/optional>)
#include <experimental/optional>
#endif
#include <optional>
#endif
// disable float-equal warnings on GCC/clang
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment