[Core/Dialog/ELF/FileSystems/HLE/HW/Util] Added const reference for function params

This commit is contained in:
Herman Semenov committed 2023-12-14 14:22:24 +03:00
1 parent 5a0d54be83
commit af41281761
43 files changed
+83 -83

No files matched your search

+3 -3
View File
@@ -57,12 +57,12 @@ public:
Reset();
}
void Mount(std::string prefix, std::shared_ptr<IFileSystem> system);
void Mount(const std::string &prefix, std::shared_ptr<IFileSystem> system);
// Fails if there's not already a file system at prefix.
bool Remount(std::string prefix, std::shared_ptr<IFileSystem> system);
bool Remount(const std::string &prefix, std::shared_ptr<IFileSystem> system);
void UnmountAll();
void Unmount(std::string prefix);
void Unmount(const std::string &prefix);
// The pointer returned from these are for temporary usage only. Do not store.
IFileSystem *GetSystem(const std::string &prefix);