diff options
author | Michael Reilly <OmnipotentEntity@gmail.com> | 2020-09-19 10:46:02 -0400 |
---|---|---|
committer | Michael Reilly <OmnipotentEntity@gmail.com> | 2020-09-21 14:24:43 -0400 |
commit | d860295e116f9aa0f37e2637b5ec4b9c86fdf4d3 (patch) | |
tree | f7c3d778273b28239525cc88c07ceb1a55e230d7 | |
parent | 958bf5712377f59622c59f05a84641aa1093fd32 (diff) |
Bump nlohmann-json version to 3.9.1
-rw-r--r-- | src/libexpr/json-to-value.cc | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/libexpr/json-to-value.cc b/src/libexpr/json-to-value.cc index 76e1a26bf..9ca5ac86d 100644 --- a/src/libexpr/json-to-value.cc +++ b/src/libexpr/json-to-value.cc @@ -115,6 +115,14 @@ public: { return handle_value<void(Value&, const char*)>(mkString, val.c_str()); } +#if NLOHMANN_JSON_VERSION_MAJOR >= 3 && NLOHMANN_JSON_VERSION_MINOR >= 8 + bool binary(binary_t&) + { + // This function ought to be unreachable + assert(false); + return true; + } +#endif bool start_object(std::size_t len) { |