Merge pull request #2580 from lioncash/redundant

kernel/vm_manager: Remove redundant Reset call in destructor
This commit is contained in:
Zach Hilman 2019-06-12 19:26:07 -04:00 committed by GitHub
commit a9521c983b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -68,9 +68,7 @@ VMManager::VMManager(Core::System& system) : system{system} {
Reset(FileSys::ProgramAddressSpaceType::Is39Bit); Reset(FileSys::ProgramAddressSpaceType::Is39Bit);
} }
VMManager::~VMManager() { VMManager::~VMManager() = default;
Reset(FileSys::ProgramAddressSpaceType::Is39Bit);
}
void VMManager::Reset(FileSys::ProgramAddressSpaceType type) { void VMManager::Reset(FileSys::ProgramAddressSpaceType type) {
Clear(); Clear();