Fix copy/paste error in SignalHandler example.

This commit is contained in:
Christopher Kohlhoff 2011-02-23 12:31:16 +11:00
parent 0e294991c7
commit 8c5f730f83

View File

@ -46,7 +46,7 @@ A non-static class member function adapted to a signal handler using `bind()`:
...
}
...
socket.async_wait(...,
my_signal_set.async_wait(
boost::bind(&my_class::signal_handler,
this, asio::placeholders::error,
asio::placeholders::signal_number));