diff options
Diffstat (limited to 'source/Host/posix/MainLoopPosix.cpp')
-rw-r--r-- | source/Host/posix/MainLoopPosix.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/Host/posix/MainLoopPosix.cpp b/source/Host/posix/MainLoopPosix.cpp index cb213b9b79f1..897f2d13c0c6 100644 --- a/source/Host/posix/MainLoopPosix.cpp +++ b/source/Host/posix/MainLoopPosix.cpp @@ -94,10 +94,10 @@ MainLoopPosix::RegisterSignal(int signo, const Callback &callback, Error &error) } void -MainLoopPosix::UnregisterReadObject(const lldb::IOObjectSP &object_sp) +MainLoopPosix::UnregisterReadObject(IOObject::WaitableHandle handle) { - bool erased = m_read_fds.erase(object_sp->GetWaitableHandle()); - (void) erased; + bool erased = m_read_fds.erase(handle); + UNUSED_IF_ASSERT_DISABLED(erased); assert(erased); } |