use "JSONCPP_STRING" instead "Json::String"

This commit is contained in:
hyzboy 2020-01-24 00:17:26 +08:00
parent f93c19afda
commit db0b17029c

View File

@ -40,7 +40,7 @@ namespace hgl
Json::CharReaderBuilder builder; Json::CharReaderBuilder builder;
Json::CharReader *reader=builder.newCharReader(); Json::CharReader *reader=builder.newCharReader();
Json::String errs; JSONCPP_STRING errs;
const bool result=reader->parse(txt,txt+size,&root,&errs); const bool result=reader->parse(txt,txt+size,&root,&errs);