aboutsummaryrefslogtreecommitdiff
path: root/src/frontend/qt_sdl/SaveManager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/frontend/qt_sdl/SaveManager.cpp')
-rw-r--r--src/frontend/qt_sdl/SaveManager.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/frontend/qt_sdl/SaveManager.cpp b/src/frontend/qt_sdl/SaveManager.cpp
index 31d2a68..005219b 100644
--- a/src/frontend/qt_sdl/SaveManager.cpp
+++ b/src/frontend/qt_sdl/SaveManager.cpp
@@ -25,7 +25,7 @@
using Platform::Log;
using Platform::LogLevel;
-SaveManager::SaveManager(std::string path) : QThread()
+SaveManager::SaveManager(const std::string& path) : QThread()
{
SecondaryBuffer = nullptr;
SecondaryBufferLength = 0;
@@ -71,7 +71,7 @@ std::string SaveManager::GetPath()
return Path;
}
-void SaveManager::SetPath(std::string path, bool reload)
+void SaveManager::SetPath(const std::string& path, bool reload)
{
Path = path;