From ab0d5b0c89960bc1d8686ce15f9f10f0912ff441 Mon Sep 17 00:00:00 2001 From: jordan4ibanez Date: Wed, 29 Nov 2023 05:52:51 -0500 Subject: [PATCH] Now duct tape json together for CXX 17 --- source/Irrlicht/tinygltf/json.hpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/source/Irrlicht/tinygltf/json.hpp b/source/Irrlicht/tinygltf/json.hpp index d7da63f7..57fb0f2b 100644 --- a/source/Irrlicht/tinygltf/json.hpp +++ b/source/Irrlicht/tinygltf/json.hpp @@ -4381,7 +4381,7 @@ void from_json(const BasicJsonType& j, std::unordered_map -void from_json(const BasicJsonType& j, std::filesystem::path& p) +void from_json(const BasicJsonType& j, std::experimental::filesystem::path& p) { if (JSON_HEDLEY_UNLIKELY(!j.is_string())) { @@ -4627,7 +4627,7 @@ class tuple_element> #ifdef JSON_HAS_CPP_17 - #include + #include #endif namespace nlohmann @@ -5004,7 +5004,7 @@ void to_json(BasicJsonType& j, const T& t) #ifdef JSON_HAS_CPP_17 template -void to_json(BasicJsonType& j, const std::filesystem::path& p) +void to_json(BasicJsonType& j, const std::experimental::filesystem::path& p) { j = p.string(); }