Revert "Fix API constness"

This reverts commit 0d2580f1f0a24d24c0e015d01fc9567a7365ce7e.
This commit is contained in:
Milo Yip 2018-02-13 12:27:25 +08:00
parent 0d2580f1f0
commit 59181a052f

View File

@ -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 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);
return AddMember(name, v, allocator);
}