Merge pull request #4040 from OmnipotentEntity/master

Fix compatibility with nlohmann-json 3.9.1
This commit is contained in:
Eelco Dolstra
2020-09-22 11:09:25 +02:00
committed by GitHub
+8
View File
@@ -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)
{