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
|
else
|
||||||
{
|
{
|
||||||
Json::StyledStreamWriter jsonwriter;
|
ofs << json << std::endl;
|
||||||
jsonwriter.write(ofs, json);
|
|
||||||
ofs.close();
|
ofs.close();
|
||||||
}
|
}
|
||||||
return res;
|
return res;
|
||||||
@ -3304,8 +3303,7 @@ void Downloader::saveGalaxyJSON()
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
Json::StyledStreamWriter jsonwriter;
|
ofs << Globals::galaxyConf.getJSON() << std::endl;
|
||||||
jsonwriter.write(ofs, Globals::galaxyConf.getJSON());
|
|
||||||
ofs.close();
|
ofs.close();
|
||||||
}
|
}
|
||||||
if (!Globals::globalConfig.bRespectUmask)
|
if (!Globals::globalConfig.bRespectUmask)
|
||||||
|
Loading…
Reference in New Issue
Block a user