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 | 5b61b0124c8b71733db685396e441b65cb8a1e48 (patch) | |
| tree | 256331b97f569d9386c569f36362d40adabac1eb /src | |
| parent | ec90b81b27ddeac34e29b3db4b81931ff252ec46 (diff) | |
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 b52a509157..c5643c3489 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( |
