diff options
author | Frederic Laing <frederic.laing.development@gmail.com> | 2018-12-03 19:26:36 +0100 |
---|---|---|
committer | Frederic Laing <frederic.laing.development@gmail.com> | 2018-12-03 19:26:36 +0100 |
commit | 6d7514ccec061e89a0e41d139ee86895c7b113a9 (patch) | |
tree | 256331b97f569d9386c569f36362d40adabac1eb /src/yuzu/game_list.cpp | |
parent | 7ce17b2cf6957bec3c692e2580ed93f85892a06e (diff) |
game_list: Remove a reference of a reference
Diffstat (limited to 'src/yuzu/game_list.cpp')
-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 b52a50915..c5643c348 100644 --- a/src/yuzu/game_list.cpp +++ b/src/yuzu/game_list.cpp @@ -373,7 +373,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()) { @@ -381,7 +381,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( |