mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-14 01:59:34 +01:00
Using const reference for C++17 range-based loop and freq used objects
This commit is contained in:
1 parent
da318e0974
commit
315340fc62
13 files changed
+20
-20
No files matched your search
+1
-1
@@ -485,7 +485,7 @@ void ReportFinishScreen::ShowSuggestions() {
|
||||
resultItems_->Clear();
|
||||
bool shownConfig = false;
|
||||
bool valid = false;
|
||||
for (auto item : suggestions) {
|
||||
for (const auto &item : suggestions) {
|
||||
const char *suggestion = nullptr;
|
||||
if (item == "Upgrade") {
|
||||
suggestion = rp->T("SuggestionUpgrade", "Upgrade to a newer PPSSPP build");
|
||||
|
||||
Reference in new issue
Block a user