diff options
author | 2014-02-20 00:09:26 -0800 | |
---|---|---|
committer | 2014-02-20 00:09:26 -0800 | |
commit | ab6423330db251d1be421c8c781e1fbc042bd2d7 (patch) | |
tree | ece8efd273d677da30d16e469a6a4a8aac681a7e /src/core | |
parent | a79b7e5143227ae31afed451688b931be3c2d1c9 (diff) |
Improved performance of JSON parser
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/basetypes/MCJSONParser.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/basetypes/MCJSONParser.cc b/src/core/basetypes/MCJSONParser.cc index adac3570..d9f68204 100644 --- a/src/core/basetypes/MCJSONParser.cc +++ b/src/core/basetypes/MCJSONParser.cc @@ -47,7 +47,7 @@ String * JSONParser::content() void JSONParser::setContent(String * content) { - MC_SAFE_REPLACE_COPY(String, mContent, content); + MC_SAFE_REPLACE_RETAIN(String, mContent, content); } unsigned int JSONParser::position() |