mirror of
https://github.com/Sude-/lgogdownloader.git
synced 2024-11-20 11:49:17 +01:00
Remove usage of obsolete Json::StyledStreamWriter class.
This commit is contained in:
parent
76d8548fc9
commit
5bf6a9ed97
@ -2303,8 +2303,7 @@ int Downloader::saveGameDetailsCache()
|
||||
}
|
||||
else
|
||||
{
|
||||
Json::StyledStreamWriter jsonwriter;
|
||||
jsonwriter.write(ofs, json);
|
||||
ofs << json << std::endl;
|
||||
ofs.close();
|
||||
}
|
||||
return res;
|
||||
@ -3304,8 +3303,7 @@ void Downloader::saveGalaxyJSON()
|
||||
}
|
||||
else
|
||||
{
|
||||
Json::StyledStreamWriter jsonwriter;
|
||||
jsonwriter.write(ofs, Globals::galaxyConf.getJSON());
|
||||
ofs << Globals::galaxyConf.getJSON() << std::endl;
|
||||
ofs.close();
|
||||
}
|
||||
if (!Globals::globalConfig.bRespectUmask)
|
||||
|
Loading…
Reference in New Issue
Block a user