Skip to content

Commit 8a30b6b

Browse files
committed
binary-type was added to nlohmann::json 3.8.0 - this is the minimum requirement now
1 parent 5782bdc commit 8a30b6b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/nlohmann/json-schema.hpp

+3-3
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,11 @@
2424
#include <nlohmann/json.hpp>
2525

2626
#ifdef NLOHMANN_JSON_VERSION_MAJOR
27-
# if (NLOHMANN_JSON_VERSION_MAJOR * 10000 + NLOHMANN_JSON_VERSION_MINOR * 100 + NLOHMANN_JSON_VERSION_PATCH) < 30600
28-
# error "Please use this library with NLohmann's JSON version 3.6.0 or higher"
27+
# if (NLOHMANN_JSON_VERSION_MAJOR * 10000 + NLOHMANN_JSON_VERSION_MINOR * 100 + NLOHMANN_JSON_VERSION_PATCH) < 30800
28+
# error "Please use this library with NLohmann's JSON version 3.8.0 or higher"
2929
# endif
3030
#else
31-
# error "expected existing NLOHMANN_JSON_VERSION_MAJOR preproc variable, please update to NLohmann's JSON 3.6.0"
31+
# error "expected existing NLOHMANN_JSON_VERSION_MAJOR preproc variable, please update to NLohmann's JSON 3.8.0"
3232
#endif
3333

3434
// make yourself a home - welcome to nlohmann's namespace

0 commit comments

Comments
 (0)