diff options
author | GeckoEidechse <gecko.eidechse+git@pm.me> | 2024-01-20 00:48:53 +0100 |
---|---|---|
committer | GeckoEidechse <gecko.eidechse+git@pm.me> | 2024-01-20 00:48:53 +0100 |
commit | efff77f0941df9b6502f6c66a621c1c41a0d1e25 (patch) | |
tree | 21ca003de87a1842a041396fc2318e34932dcd00 | |
parent | 54532ae1ba82c106c2c510a9cbde7b6f1c3b7c1d (diff) | |
download | NorthstarLauncher-efff77f0941df9b6502f6c66a621c1c41a0d1e25.tar.gz NorthstarLauncher-efff77f0941df9b6502f6c66a621c1c41a0d1e25.zip |
Fix compiler error
-rw-r--r-- | primedev/mods/autodownload/moddownloader.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/primedev/mods/autodownload/moddownloader.cpp b/primedev/mods/autodownload/moddownloader.cpp index 5d3e9254..9d79beaf 100644 --- a/primedev/mods/autodownload/moddownloader.cpp +++ b/primedev/mods/autodownload/moddownloader.cpp @@ -60,6 +60,7 @@ void ModDownloader::FetchModsListFromAPI() CURLcode result; CURL* easyhandle; rapidjson::Document verifiedModsJson; + rapidjson::Value verifiedModsJsonThunderstore; std::string url = modsListUrl; curl_global_init(CURL_GLOBAL_ALL); @@ -91,7 +92,7 @@ void ModDownloader::FetchModsListFromAPI() assert(verifiedModsJson.HasMember("thunderstore")); // Check if the "thunderstore" key exists - auto verifiedModsJsonThunderstore = verifiedModsJson["thunderstore"]; + verifiedModsJsonThunderstore = verifiedModsJson["thunderstore"]; assert(verifiedModsJsonThunderstore->value.IsObject()); |