@@ -654,7 +654,7 @@ bool linux_nonthrowing_tcp_listener_t::begin_listening() {
654
654
655
655
// Start the accept loop
656
656
accept_loop_drainer.init (new auto_drainer_t );
657
- coro_t::spawn_sometime (boost ::bind (
657
+ coro_t::spawn_sometime (std ::bind (
658
658
&linux_nonthrowing_tcp_listener_t ::accept_loop, this , auto_drainer_t::lock_t (accept_loop_drainer.get ())));
659
659
660
660
return true ;
@@ -837,7 +837,7 @@ void linux_nonthrowing_tcp_listener_t::accept_loop(auto_drainer_t::lock_t lock)
837
837
fd_t new_sock = accept (active_fd, NULL , NULL );
838
838
839
839
if (new_sock != INVALID_FD) {
840
- coro_t::spawn_now_dangerously (boost ::bind (&linux_nonthrowing_tcp_listener_t ::handle, this , new_sock));
840
+ coro_t::spawn_now_dangerously (std ::bind (&linux_nonthrowing_tcp_listener_t ::handle, this , new_sock));
841
841
842
842
/* If we backed off before, un-backoff now that the problem seems to be
843
843
resolved. */
@@ -940,7 +940,7 @@ int linux_repeated_nonthrowing_tcp_listener_t::get_port() const {
940
940
void linux_repeated_nonthrowing_tcp_listener_t::begin_repeated_listening_attempts () {
941
941
auto_drainer_t ::lock_t lock (&drainer);
942
942
coro_t::spawn_sometime (
943
- boost ::bind (&linux_repeated_nonthrowing_tcp_listener_t ::retry_loop, this , lock));
943
+ std ::bind (&linux_repeated_nonthrowing_tcp_listener_t ::retry_loop, this , lock));
944
944
}
945
945
946
946
void linux_repeated_nonthrowing_tcp_listener_t::retry_loop (auto_drainer_t ::lock_t lock) {
0 commit comments