[Core/Dialog/ELF/FileSystems/HLE/HW/Util] Added const reference for function params

This commit is contained in:
Herman Semenov committed 2023-12-14 14:22:24 +03:00
1 parent 5a0d54be83
commit af41281761
43 files changed
+83 -83

No files matched your search

+2 -2
View File
@@ -1838,7 +1838,7 @@ int Config::GetPSPLanguage() {
}
}
void PlayTimeTracker::Start(std::string gameId) {
void PlayTimeTracker::Start(const std::string &gameId) {
if (gameId.empty()) {
return;
}
@@ -1860,7 +1860,7 @@ void PlayTimeTracker::Start(std::string gameId) {
tracker_[gameId] = playTime;
}
void PlayTimeTracker::Stop(std::string gameId) {
void PlayTimeTracker::Stop(const std::string &gameId) {
if (gameId.empty()) {
return;
}