We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c80faa4 commit 5da29e2Copy full SHA for 5da29e2
src/lib_json/json_value.cpp
@@ -234,7 +234,7 @@ Value::CZString::CZString(const CZString& other)
234
storage_.policy_ = static_cast<unsigned>(other.cstr_
235
? (static_cast<DuplicationPolicy>(other.storage_.policy_) == noDuplication
236
? noDuplication : duplicate)
237
- : static_cast<DuplicationPolicy>(other.storage_.policy_));
+ : static_cast<DuplicationPolicy>(other.storage_.policy_)) & 3U;
238
storage_.length_ = other.storage_.length_;
239
}
240
0 commit comments