Skip to content

Commit e3f2428

Browse files
committed
Merge pull request #130 from connormanning/master
Build without warnings with -pedantic enabled.
2 parents 40810fe + 00b8ce8 commit e3f2428

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: src/lib_json/json_value.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -340,7 +340,7 @@ Value::Value(const Value& other)
340340
case stringValue:
341341
if (other.value_.string_) {
342342
value_.string_ = duplicateStringValue(other.value_.string_);
343-
allocated_ = true;
343+
allocated_ |= true;
344344
} else {
345345
value_.string_ = 0;
346346
allocated_ = false;

0 commit comments

Comments
 (0)