pointless micro optimisations

This commit is contained in:
RSDuck
2023-04-28 17:05:34 +02:00
parent 3ada5b9bc8
commit 4b170b94d5
19 changed files with 87 additions and 73 deletions

View File

@ -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;