summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2019-01-12 08:01:13 +0100
committerGitHub <noreply@github.com>2019-01-12 08:01:13 +0100
commitbc879ae88056eef55709f0b683e11a4b8b70ffd2 (patch)
tree80fd501886b758ed7a8a3fa8084fb9fcfbcf5b4d
parentMerge pull request #1959 from DarkLordZach/custom-rtc (diff)
parentgame_list: Remove a reference of a reference (diff)
downloadyuzu-bc879ae88056eef55709f0b683e11a4b8b70ffd2.tar
yuzu-bc879ae88056eef55709f0b683e11a4b8b70ffd2.tar.gz
yuzu-bc879ae88056eef55709f0b683e11a4b8b70ffd2.tar.bz2
yuzu-bc879ae88056eef55709f0b683e11a4b8b70ffd2.tar.lz
yuzu-bc879ae88056eef55709f0b683e11a4b8b70ffd2.tar.xz
yuzu-bc879ae88056eef55709f0b683e11a4b8b70ffd2.tar.zst
yuzu-bc879ae88056eef55709f0b683e11a4b8b70ffd2.zip
-rw-r--r--src/yuzu/game_list.cpp4
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(