diff options
author | bunnei <bunneidev@gmail.com> | 2019-01-12 02:01:13 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-01-12 02:01:13 -0500 |
commit | bc879ae88056eef55709f0b683e11a4b8b70ffd2 (patch) | |
tree | 80fd501886b758ed7a8a3fa8084fb9fcfbcf5b4d /src | |
parent | c9ef8b0af1a5908822ca0f3bb3b2238018a555e8 (diff) | |
parent | 6d7514ccec061e89a0e41d139ee86895c7b113a9 (diff) |
Merge pull request #1848 from FreddyFunk/QJsonArray
game_list: Remove a reference of a reference
Diffstat (limited to 'src')
-rw-r--r-- | src/yuzu/game_list.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/yuzu/game_list.cpp b/src/yuzu/game_list.cpp index 8e9524fd6..c0e3c5fa9 100644 --- a/src/yuzu/game_list.cpp +++ b/src/yuzu/game_list.cpp @@ -376,7 +376,7 @@ void GameList::LoadCompatibilityList() { QJsonDocument json = QJsonDocument::fromJson(string_content.toUtf8()); QJsonArray arr = json.array(); - for (const QJsonValueRef& value : arr) { + for (const QJsonValueRef value : arr) { QJsonObject game = value.toObject(); if (game.contains("compatibility") && game["compatibility"].isDouble()) { @@ -384,7 +384,7 @@ void GameList::LoadCompatibilityList() { QString directory = game["directory"].toString(); QJsonArray ids = game["releases"].toArray(); - for (const QJsonValueRef& id_ref : ids) { + for (const QJsonValueRef id_ref : ids) { QJsonObject id_object = id_ref.toObject(); QString id = id_object["id"].toString(); compatibility_list.emplace( |