aboutsummaryrefslogtreecommitdiff
path: root/src/libexpr/json-to-value.cc
diff options
context:
space:
mode:
authorMichael Reilly <OmnipotentEntity@gmail.com>2020-09-19 10:46:02 -0400
committerMichael Reilly <OmnipotentEntity@gmail.com>2020-09-21 14:24:43 -0400
commitd860295e116f9aa0f37e2637b5ec4b9c86fdf4d3 (patch)
treef7c3d778273b28239525cc88c07ceb1a55e230d7 /src/libexpr/json-to-value.cc
parent958bf5712377f59622c59f05a84641aa1093fd32 (diff)
Bump nlohmann-json version to 3.9.1
Diffstat (limited to 'src/libexpr/json-to-value.cc')
-rw-r--r--src/libexpr/json-to-value.cc8
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)
{