Commit 59181a05 authored by Milo Yip's avatar Milo Yip

Revert "Fix API constness"

This reverts commit 0d2580f1.
parent 0d2580f1
...@@ -1300,7 +1300,7 @@ public: ...@@ -1300,7 +1300,7 @@ public:
\note This overload is needed to avoid clashes with the generic primitive type AddMember(GenericValue&,T,Allocator&) overload below. \note This overload is needed to avoid clashes with the generic primitive type AddMember(GenericValue&,T,Allocator&) overload below.
\note Amortized Constant time complexity. \note Amortized Constant time complexity.
*/ */
GenericValue& AddMember(GenericValue& name, const std::basic_string<Ch>& value, Allocator& allocator) { GenericValue& AddMember(GenericValue& name, std::basic_string<Ch>& value, Allocator& allocator) {
GenericValue v(value, allocator); GenericValue v(value, allocator);
return AddMember(name, v, allocator); return AddMember(name, v, allocator);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment