Just some minor code modernization

This commit is contained in:
Henrik Rydgård committed 2025-08-25 10:45:12 +02:00
1 parent 3e62157487
commit 18ccef1bd4
11 files changed
+31 -27

No files matched your search

+1 -1
View File
@@ -170,7 +170,7 @@ static std::string RemotePathForRecent(const std::string &filename) {
return std::string();
}
static Path LocalFromRemotePath(const std::string_view &path) {
static Path LocalFromRemotePath(std::string_view path) {
switch ((RemoteISOShareType)g_Config.iRemoteISOShareType) {
case RemoteISOShareType::RECENT:
for (const std::string &filename : g_recentFiles.GetRecentFiles()) {