mirror of
https://github.com/open-source-parsers/jsoncpp.git
synced 2025-02-25 15:46:03 +01:00
Another shot at #411
This commit is contained in:
parent
c80faa400c
commit
5da29e2707
@ -234,7 +234,7 @@ Value::CZString::CZString(const CZString& other)
|
||||
storage_.policy_ = static_cast<unsigned>(other.cstr_
|
||||
? (static_cast<DuplicationPolicy>(other.storage_.policy_) == noDuplication
|
||||
? noDuplication : duplicate)
|
||||
: static_cast<DuplicationPolicy>(other.storage_.policy_));
|
||||
: static_cast<DuplicationPolicy>(other.storage_.policy_)) & 3U;
|
||||
storage_.length_ = other.storage_.length_;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user