diff --git a/src/core/hle/kernel/address_arbiter.cpp b/src/core/hle/kernel/address_arbiter.cpp index 97228f153..dba814b66 100644 --- a/src/core/hle/kernel/address_arbiter.cpp +++ b/src/core/hle/kernel/address_arbiter.cpp @@ -84,7 +84,7 @@ public: std::shared_ptr parent; void WakeUp(ThreadWakeupReason reason, std::shared_ptr thread, - std::shared_ptr object) override { + std::shared_ptr object) override { parent->WakeUp(reason, thread, object); } @@ -103,7 +103,7 @@ void AddressArbiter::WakeUp(ThreadWakeupReason reason, std::shared_ptr t ASSERT(reason == ThreadWakeupReason::Timeout); // Remove the newly-awakened thread from the Arbiter's waiting list. waiting_threads.erase(std::remove(waiting_threads.begin(), waiting_threads.end(), thread), - waiting_threads.end()); + waiting_threads.end()); }; ResultCode AddressArbiter::ArbitrateAddress(std::shared_ptr thread, ArbitrationType type, diff --git a/src/core/hle/kernel/address_arbiter.h b/src/core/hle/kernel/address_arbiter.h index de7631066..4d8b12241 100644 --- a/src/core/hle/kernel/address_arbiter.h +++ b/src/core/hle/kernel/address_arbiter.h @@ -93,9 +93,10 @@ private: void serialize(Archive& ar, const unsigned int file_version) { ar& boost::serialization::base_object(*this); if (file_version == 1) { - // This rigmarole is needed because in past versions, AddressArbiter inherited WakeupCallback - // But it turns out this breaks shared_from_this, so we split it out. - // Using a dummy class to deserialize a base_object allows compatibility to be maintained. + // This rigmarole is needed because in past versions, AddressArbiter inherited + // WakeupCallback But it turns out this breaks shared_from_this, so we split it out. + // Using a dummy class to deserialize a base_object allows compatibility to be + // maintained. DummyCallback x; ar& boost::serialization::base_object(x); }