mirror of
https://github.com/open-source-parsers/jsoncpp.git
synced 2025-05-03 07:52:28 +02: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_
|
storage_.policy_ = static_cast<unsigned>(other.cstr_
|
||||||
? (static_cast<DuplicationPolicy>(other.storage_.policy_) == noDuplication
|
? (static_cast<DuplicationPolicy>(other.storage_.policy_) == noDuplication
|
||||||
? noDuplication : duplicate)
|
? noDuplication : duplicate)
|
||||||
: static_cast<DuplicationPolicy>(other.storage_.policy_));
|
: static_cast<DuplicationPolicy>(other.storage_.policy_)) & 3U;
|
||||||
storage_.length_ = other.storage_.length_;
|
storage_.length_ = other.storage_.length_;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user