diff options
| author | Morph <39850852+Morph1984@users.noreply.github.com> | 2021-11-02 17:23:19 -0400 |
|---|---|---|
| committer | Morph <39850852+Morph1984@users.noreply.github.com> | 2021-11-02 17:23:19 -0400 |
| commit | cb09ea0f0174162a85f47fdb8446b397c3c57e20 (patch) | |
| tree | 5cbd9a62e1daf1c1de97444858064fe8210df077 /src/core/file_sys/sdmc_factory.cpp | |
| parent | 98b351758c9912735ad0cedd0ab68c39185e6040 (diff) | |
general: Remove MakeResult helpers
This is made obsolete by the presence of implicit constructors.
Diffstat (limited to 'src/core/file_sys/sdmc_factory.cpp')
| -rw-r--r-- | src/core/file_sys/sdmc_factory.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/file_sys/sdmc_factory.cpp b/src/core/file_sys/sdmc_factory.cpp index e5c72cd4d..c0e13e56f 100644 --- a/src/core/file_sys/sdmc_factory.cpp +++ b/src/core/file_sys/sdmc_factory.cpp @@ -25,7 +25,7 @@ SDMCFactory::SDMCFactory(VirtualDir sd_dir_, VirtualDir sd_mod_dir_) SDMCFactory::~SDMCFactory() = default; ResultVal<VirtualDir> SDMCFactory::Open() const { - return MakeResult<VirtualDir>(sd_dir); + return sd_dir; } VirtualDir SDMCFactory::GetSDMCModificationLoadRoot(u64 title_id) const { |
