diff options
author | Lioncash <mathew1800@gmail.com> | 2018-09-09 19:35:05 -0400 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2018-09-09 19:46:07 -0400 |
commit | 73a2d71f449020dbf4e0cc165de8b1b157bc927c (patch) | |
tree | 6d424fc92478ab2a89933ed7f026b66759fd7752 /src/yuzu/main.h | |
parent | bd8065295c4c000c341c7638d809979da26859c1 (diff) |
game_list: Make CompatibilityList parameter of NavigateToGamedbEntryRequested() a const reference
The compatibility list isn't modified within any of the slots connected
to this signal, so we can make it const to enforce immutability.
Diffstat (limited to 'src/yuzu/main.h')
-rw-r--r-- | src/yuzu/main.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/yuzu/main.h b/src/yuzu/main.h index 64516a332..552e3e61c 100644 --- a/src/yuzu/main.h +++ b/src/yuzu/main.h @@ -138,7 +138,8 @@ private slots: /// Called whenever a user selects a game in the game list widget. void OnGameListLoadFile(QString game_path); void OnGameListOpenFolder(u64 program_id, GameListOpenTarget target); - void OnGameListNavigateToGamedbEntry(u64 program_id, CompatibilityList& compatibility_list); + void OnGameListNavigateToGamedbEntry(u64 program_id, + const CompatibilityList& compatibility_list); void OnMenuLoadFile(); void OnMenuLoadFolder(); void OnMenuInstallToNAND(); |