From 05eec197c67c16e2f61654c7e48a2733c2dd7bad Mon Sep 17 00:00:00 2001 From: flb Date: Sun, 21 May 2023 18:30:15 +0200 Subject: [PATCH] fixed ambiguous operator overload --- source/download_cheats_page.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/download_cheats_page.cpp b/source/download_cheats_page.cpp index ca4da22..b98310e 100644 --- a/source/download_cheats_page.cpp +++ b/source/download_cheats_page.cpp @@ -144,7 +144,7 @@ void DownloadCheatsPage::GetBuildIDFromFile() std::string version_str = std::to_string(this->version); if (versions_json.find(version_str) != versions_json.end()) { - this->bid = versions_json[version_str]; + this->bid = versions_json.at(version_str).get(); } else { this->bid = "";