mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-30 09:43:45 +01:00
[Core/Dialog/ELF/FileSystems/HLE/HW/Util] Added const reference for function params
This commit is contained in:
1 parent
5a0d54be83
commit
af41281761
43 files changed
+83
-83
No files matched your search
+2
-2
@@ -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;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user