aboutsummaryrefslogtreecommitdiff
path: root/src/core/file_sys/sdmc_factory.h
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2018-10-16 11:21:13 -0400
committerGitHub <noreply@github.com>2018-10-16 11:21:13 -0400
commit59c1ca8b0c0051a63d57ccb433a96909acf8000c (patch)
tree2df1a3b0722373a00173fae49df3be3c0445d92d /src/core/file_sys/sdmc_factory.h
parentd6e390bc5c944b8f2ce96b6d79533d60af172918 (diff)
parent39ae73b356a253036283b114855f8c5ddbb20f49 (diff)
Merge pull request #1508 from lioncash/unique-reg
file_sys/registered_cache: Use unique_ptr and regular pointers instead of shared_ptrs where applicable
Diffstat (limited to 'src/core/file_sys/sdmc_factory.h')
-rw-r--r--src/core/file_sys/sdmc_factory.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/file_sys/sdmc_factory.h b/src/core/file_sys/sdmc_factory.h
index ea12149de..42794ba5b 100644
--- a/src/core/file_sys/sdmc_factory.h
+++ b/src/core/file_sys/sdmc_factory.h
@@ -19,12 +19,12 @@ public:
~SDMCFactory();
ResultVal<VirtualDir> Open();
- std::shared_ptr<RegisteredCache> GetSDMCContents() const;
+ RegisteredCache* GetSDMCContents() const;
private:
VirtualDir dir;
- std::shared_ptr<RegisteredCache> contents;
+ std::unique_ptr<RegisteredCache> contents;
};
} // namespace FileSys