Merge pull request #130 from connormanning/master

Build without warnings with -pedantic enabled.
This commit is contained in:
Christopher Dunn 2015-01-22 11:48:58 -06:00
commit e3f24286c1

View File

@ -340,7 +340,7 @@ Value::Value(const Value& other)
case stringValue:
if (other.value_.string_) {
value_.string_ = duplicateStringValue(other.value_.string_);
allocated_ = true;
allocated_ |= true;
} else {
value_.string_ = 0;
allocated_ = false;