From 6ee908dc841debb4ff8934ddabf76362cbe25063 Mon Sep 17 00:00:00 2001 From: Weiyi Wang Date: Sun, 14 Jul 2019 14:44:17 -0400 Subject: [PATCH] kernel: silence -Wreorder --- src/core/hle/kernel/client_port.cpp | 2 +- src/core/hle/kernel/process.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/core/hle/kernel/client_port.cpp b/src/core/hle/kernel/client_port.cpp index 3cbc0d55a9..d217dfb7c1 100644 --- a/src/core/hle/kernel/client_port.cpp +++ b/src/core/hle/kernel/client_port.cpp @@ -13,7 +13,7 @@ namespace Kernel { -ClientPort::ClientPort(KernelSystem& kernel) : kernel(kernel), Object(kernel) {} +ClientPort::ClientPort(KernelSystem& kernel) : Object(kernel), kernel(kernel) {} ClientPort::~ClientPort() = default; ResultVal> ClientPort::Connect() { diff --git a/src/core/hle/kernel/process.cpp b/src/core/hle/kernel/process.cpp index 15d70db7ce..c6aa2b8954 100644 --- a/src/core/hle/kernel/process.cpp +++ b/src/core/hle/kernel/process.cpp @@ -402,7 +402,7 @@ ResultCode Process::Unmap(VAddr target, VAddr source, u32 size, VMAPermission pe } Kernel::Process::Process(KernelSystem& kernel) - : Object(kernel), handle_table(kernel), kernel(kernel), vm_manager(kernel.memory) { + : Object(kernel), handle_table(kernel), vm_manager(kernel.memory), kernel(kernel) { kernel.memory.RegisterPageTable(&vm_manager.page_table); }