Skip to content

Commit

Permalink
(Releng) Fix MacOS Build.
Browse files Browse the repository at this point in the history
  • Loading branch information
kdesnos committed Feb 26, 2021
1 parent 04c9b5d commit 2f56dd0
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions lib/JsonCpp/json.h
Original file line number Diff line number Diff line change
Expand Up @@ -840,6 +840,7 @@ class JSON_API Value {
Value(ValueType type = nullValue);
Value(Int value);
Value(UInt value);
Value(size_t value);
#if defined(JSON_HAS_INT64)
Value(Int64 value);
Value(UInt64 value);
Expand Down
6 changes: 6 additions & 0 deletions lib/JsonCpp/jsoncpp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2793,6 +2793,12 @@ Value::Value(UInt value) {
initBasic(uintValue);
value_.uint_ = value;
}

Value::Value(size_t value)
{
initBasic(uintValue);
value_.uint_ = value;
}
#if defined(JSON_HAS_INT64)
Value::Value(Int64 value) {
initBasic(intValue);
Expand Down

0 comments on commit 2f56dd0

Please sign in to comment.