summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZach Hilman <DarkLordZach@users.noreply.github.com>2019-06-13 01:26:07 +0200
committerGitHub <noreply@github.com>2019-06-13 01:26:07 +0200
commita9521c983bb66c7aa93c38799752079587aec6f1 (patch)
treed229236356a9217c3eedc60649ff4b6683d559f3
parentMerge pull request #2577 from lioncash/fs (diff)
parentkernel/vm_manager: Remove redundant Reset call in destructor (diff)
downloadyuzu-a9521c983bb66c7aa93c38799752079587aec6f1.tar
yuzu-a9521c983bb66c7aa93c38799752079587aec6f1.tar.gz
yuzu-a9521c983bb66c7aa93c38799752079587aec6f1.tar.bz2
yuzu-a9521c983bb66c7aa93c38799752079587aec6f1.tar.lz
yuzu-a9521c983bb66c7aa93c38799752079587aec6f1.tar.xz
yuzu-a9521c983bb66c7aa93c38799752079587aec6f1.tar.zst
yuzu-a9521c983bb66c7aa93c38799752079587aec6f1.zip
-rw-r--r--src/core/hle/kernel/vm_manager.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/core/hle/kernel/vm_manager.cpp b/src/core/hle/kernel/vm_manager.cpp
index 6d6980aba..c929c2a52 100644
--- a/src/core/hle/kernel/vm_manager.cpp
+++ b/src/core/hle/kernel/vm_manager.cpp
@@ -68,9 +68,7 @@ VMManager::VMManager(Core::System& system) : system{system} {
Reset(FileSys::ProgramAddressSpaceType::Is39Bit);
}
-VMManager::~VMManager() {
- Reset(FileSys::ProgramAddressSpaceType::Is39Bit);
-}
+VMManager::~VMManager() = default;
void VMManager::Reset(FileSys::ProgramAddressSpaceType type) {
Clear();