Closed Yanpas closed 6 years ago
Patch to fix it:
@@ -208,7 +208,7 @@
explicit JsonObject(Json::object &&value) : Value(move(value)) {}
};
-class JsonNull final : public Value<Json::NUL, std::nullptr_t> {
+class JsonNull final : public Value<Json::NUL, void*> {
public:
JsonNull() : Value(nullptr) {}
};
I think you're using an older version of json11 (the line numbers in your error message don't match up with the latest master). The issue you mentioned was already fixed in alternative way using the NullStruct helper: https://github.com/dropbox/json11/blob/master/json11.cpp#L220 If you pull the latest you should be all set.