Proposal for the bind interface #38

Open
lasdasdas wants to merge 19 commits from lasdasdas/std_function_bind_interface_proposal into master
Showing only changes of commit ea9a9d7aa5 - Show all commits
+1 -2
View File
@@ -82,8 +82,7 @@ void IOLoop::RemoveDelegate(apr_socket_t *sock, IOLoopDelegate *) {
}
void IOLoop::RemoveDelegateSync(apr_socket_t *sock) {
apr_os_thread_t thread_id = apr_os_thread_current();
assert(apr_os_thread_equal(this->thread_id_, thread_id));
assert(apr_os_thread_equal(this->thread_id_, apr_os_thread_current()));
RemoveDelegateAsync(sock);
}