Two params per line for travis

This commit is contained in:
Vishal Sharma
2018-03-09 01:30:36 +05:30
parent 3ab0a703b5
commit 3e5ffa3e31

View File

@@ -37,10 +37,9 @@ SharedPtr<Event> HLERequestContext::SleepClientThread(SharedPtr<Thread> thread,
const std::string& reason, u64 timeout, const std::string& reason, u64 timeout,
WakeupCallback&& callback) { WakeupCallback&& callback) {
// Put the client thread to sleep until the wait event is signaled or the timeout expires. // Put the client thread to sleep until the wait event is signaled or the timeout expires.
thread->wakeup_callback = [context = this, callback](ThreadWakeupReason reason, thread->wakeup_callback =
SharedPtr<Thread> thread, [context = this, callback](ThreadWakeupReason reason, SharedPtr<Thread> thread,
SharedPtr<WaitObject> object, SharedPtr<WaitObject> object, size_t index) mutable -> bool {
size_t index) mutable -> bool {
ASSERT(thread->status == THREADSTATUS_WAIT_HLE_EVENT); ASSERT(thread->status == THREADSTATUS_WAIT_HLE_EVENT);
callback(thread, *context, reason); callback(thread, *context, reason);