mirror of
https://github.com/Sude-/lgogdownloader.git
synced 2024-11-20 11:49:17 +01:00
Use std::string instead of JSONCPP_STRING
This commit is contained in:
parent
553c6dce1c
commit
d0177031e6
@ -377,7 +377,7 @@ std::vector<gameFile> galaxyAPI::fileJsonNodeToGameFileVector(const std::string&
|
|||||||
Json::Value downlinkJson;
|
Json::Value downlinkJson;
|
||||||
Json::CharReaderBuilder builder;
|
Json::CharReaderBuilder builder;
|
||||||
std::istringstream downlink_stream(downlinkResponse);
|
std::istringstream downlink_stream(downlinkResponse);
|
||||||
JSONCPP_STRING errs;
|
std::string errs;
|
||||||
Json::parseFromStream(builder, downlink_stream, &downlinkJson, &errs);
|
Json::parseFromStream(builder, downlink_stream, &downlinkJson, &errs);
|
||||||
|
|
||||||
std::string downlink_url = downlinkJson["downlink"].asString();
|
std::string downlink_url = downlinkJson["downlink"].asString();
|
||||||
|
Loading…
Reference in New Issue
Block a user