vcpkg/ports/valijson/fix-nlohmann-json.patch

27 lines
905 B
Diff
Raw Normal View History

2019-05-09 04:32:57 +08:00
diff --git a/include/valijson/adapters/nlohmann_json_adapter.hpp b/include/valijson/adapters/nlohmann_json_adapter.hpp
index f77a2bf..3f6fb5f 100644
--- a/include/valijson/adapters/nlohmann_json_adapter.hpp
+++ b/include/valijson/adapters/nlohmann_json_adapter.hpp
@@ -28,7 +28,7 @@
#define __VALIJSON_ADAPTERS_NLOHMANN_JSON_ADAPTER_HPP
#include <string>
-#include <json.hpp>
+#include <nlohmann/json.hpp>
#include <valijson/adapters/adapter.hpp>
#include <valijson/adapters/basic_adapter.hpp>
diff --git a/include/valijson/utils/nlohmann_json_utils.hpp b/include/valijson/utils/nlohmann_json_utils.hpp
index 01838d8..4a5b5e4 100644
--- a/include/valijson/utils/nlohmann_json_utils.hpp
+++ b/include/valijson/utils/nlohmann_json_utils.hpp
@@ -4,7 +4,7 @@
#include <iostream>
-#include <json.hpp>
+#include <nlohmann/json.hpp>
#include <valijson/utils/file_utils.hpp>
namespace valijson {