Optimisation of the smart pointer in PSPLoader and ISOFileSystem

This commit is contained in:
EssaBoy committed 2024-10-18 23:56:57 +02:00
1 parent a7e7b9161a
commit 1928361085
2 files changed
+3 -4

No files matched your search

+1 -1
View File
@@ -106,7 +106,7 @@ private:
// the filenames to "", to achieve this.
class ISOBlockSystem : public IFileSystem {
public:
ISOBlockSystem(std::shared_ptr<IFileSystem> isoFileSystem) : isoFileSystem_(isoFileSystem) {}
ISOBlockSystem(std::shared_ptr<IFileSystem> isoFileSystem) : isoFileSystem_(std::move(isoFileSystem)) {}
void DoState(PointerWrap &p) override {
// This is a bit iffy, as block device savestates already are iffy (loads/saves multiple times for multiple mounts..)