Merge pull request #5316 from lioncash/init
core: Resolve -Wreorder warnings
This commit is contained in:
commit
41bff0e3b7
|
@ -21,7 +21,7 @@ class HLERequestContext::ThreadCallback : public Kernel::WakeupCallback {
|
||||||
public:
|
public:
|
||||||
ThreadCallback(std::shared_ptr<HLERequestContext> context_,
|
ThreadCallback(std::shared_ptr<HLERequestContext> context_,
|
||||||
std::shared_ptr<HLERequestContext::WakeupCallback> callback_)
|
std::shared_ptr<HLERequestContext::WakeupCallback> callback_)
|
||||||
: context(std::move(context_)), callback(std::move(callback_)) {}
|
: callback(std::move(callback_)), context(std::move(context_)) {}
|
||||||
void WakeUp(ThreadWakeupReason reason, std::shared_ptr<Thread> thread,
|
void WakeUp(ThreadWakeupReason reason, std::shared_ptr<Thread> thread,
|
||||||
std::shared_ptr<WaitObject> object) {
|
std::shared_ptr<WaitObject> object) {
|
||||||
ASSERT(thread->status == ThreadStatus::WaitHleEvent);
|
ASSERT(thread->status == ThreadStatus::WaitHleEvent);
|
||||||
|
|
|
@ -38,7 +38,7 @@ bool VirtualMemoryArea::CanBeMergedWith(const VirtualMemoryArea& next) const {
|
||||||
}
|
}
|
||||||
|
|
||||||
VMManager::VMManager(Memory::MemorySystem& memory)
|
VMManager::VMManager(Memory::MemorySystem& memory)
|
||||||
: memory(memory), page_table(std::make_shared<Memory::PageTable>()) {
|
: page_table(std::make_shared<Memory::PageTable>()), memory(memory) {
|
||||||
Reset();
|
Reset();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Reference in New Issue