core: Resolve -Wreorder warnings
Ensures the initialization order matches the actual order that the class member variables will be initialized in.
This commit is contained in:
@@ -38,7 +38,7 @@ bool VirtualMemoryArea::CanBeMergedWith(const VirtualMemoryArea& next) const {
|
||||
}
|
||||
|
||||
VMManager::VMManager(Memory::MemorySystem& memory)
|
||||
: memory(memory), page_table(std::make_shared<Memory::PageTable>()) {
|
||||
: page_table(std::make_shared<Memory::PageTable>()), memory(memory) {
|
||||
Reset();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user