DescriptionFix the serialization for values in std::unique_ptrs.
In the ToValueImpl specialization for std::unique_ptr<T>, call ToValue
with the dereferenced type. All specializations take const&, which would
previously result in a call to ToValue(const*&), resulting in a wrong
specialization to be selected.
BUG=546953
Committed: https://crrev.com/64150c9670bec3824166810fbcb531798b0b9456
Cr-Commit-Position: refs/heads/master@{#434955}
Patch Set 1 #
Total comments: 3
Messages
Total messages: 15 (7 generated)
|