Skip to content

Commit d768367

Browse files
committed
Delete nullptr Json::Value constructor
1 parent 632044a commit d768367

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

include/json/value.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -342,6 +342,7 @@ class JSON_API Value {
342342
Value(const StaticString& value);
343343
Value(const String& value);
344344
Value(bool value);
345+
Value(std::nullptr_t ptr) = delete;
345346
Value(const Value& other);
346347
Value(Value&& other);
347348
~Value();

0 commit comments

Comments
 (0)