mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-12-05 04:03:49 +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
@@ -880,7 +880,7 @@ std::set<std::string> SavedataParam::GetSecureFileNames(const std::string &dirPa
|
||||
auto entries = GetSFOEntries(dirPath);
|
||||
|
||||
std::set<std::string> secureFileNames;
|
||||
for (auto entry : entries) {
|
||||
for (const auto &entry : entries) {
|
||||
char temp[14];
|
||||
truncate_cpy(temp, entry.filename);
|
||||
secureFileNames.insert(temp);
|
||||
|
||||
Reference in new issue
Block a user