Skip to content

Commit

Permalink
Merge debda15 into 632044a
Browse files Browse the repository at this point in the history
  • Loading branch information
nathanruiz committed Jun 18, 2020
2 parents 632044a + debda15 commit 6e57564
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions include/json/value.h
Expand Up @@ -342,6 +342,7 @@ class JSON_API Value {
Value(const StaticString& value);
Value(const String& value);
Value(bool value);
Value(nullptr_t ptr);
Value(const Value& other);
Value(Value&& other);
~Value();
Expand Down
2 changes: 2 additions & 0 deletions src/lib_json/json_value.cpp
Expand Up @@ -428,6 +428,8 @@ Value::Value(bool value) {
value_.bool_ = value;
}

Value::Value(nullptr_t value) { initBasic(nullValue); }

Value::Value(const Value& other) {
dupPayload(other);
dupMeta(other);
Expand Down

0 comments on commit 6e57564

Please sign in to comment.