mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-30 09:43:45 +01:00
Fixed return copies from functions and const ref params
This commit is contained in:
1 parent
8aac45fec0
commit
17ecee1715
15 files changed
+21
-21
No files matched your search
+2
-2
@@ -951,7 +951,7 @@ bool GameBrowser::IsCurrentPathPinned() {
|
||||
return std::find(paths.begin(), paths.end(), File::ResolvePath(path_.GetPath().ToString())) != paths.end();
|
||||
}
|
||||
|
||||
const std::vector<Path> GameBrowser::GetPinnedPaths() {
|
||||
std::vector<Path> GameBrowser::GetPinnedPaths() const {
|
||||
#ifndef _WIN32
|
||||
static const std::string sepChars = "/";
|
||||
#else
|
||||
@@ -979,7 +979,7 @@ const std::vector<Path> GameBrowser::GetPinnedPaths() {
|
||||
return results;
|
||||
}
|
||||
|
||||
const std::string GameBrowser::GetBaseName(const std::string &path) {
|
||||
std::string GameBrowser::GetBaseName(const std::string &path) const {
|
||||
#ifndef _WIN32
|
||||
static const std::string sepChars = "/";
|
||||
#else
|
||||
|
||||
Reference in new issue
Block a user