VERY experimental Nintendo Switch 2 emulator
C++
game_list_p: Take map iterator contents by const reference
Lioncash776f523c80b8
diff --git a/src/yuzu/game_list_p.h b/src/yuzu/game_list_p.hindex f22e422e58..0944370907 100644--- a/src/yuzu/game_list_p.h+++ b/src/yuzu/game_list_p.h@@ -128,7 +128,7 @@ public:LOG_WARNING(Frontend, "Invalid compatibility number {}", compatiblity.toStdString());return;}- CompatStatus status = iterator->second;+ const CompatStatus& status = iterator->second;setData(compatiblity, CompatNumberRole);setText(QObject::tr(status.text));setToolTip(QObject::tr(status.tooltip));