Use the thread class from the asio namespace.

This commit is contained in:
chris 2004-04-15 07:29:35 +00:00
parent 68aed92981
commit 756c20a05d

View File

@ -36,7 +36,7 @@ void server(asio::demuxer& d, short port)
{
stream_socket_ptr sock(new asio::stream_socket(d));
a.accept(*sock);
asio::detail::thread t(boost::bind(session, sock));
asio::thread t(boost::bind(session, sock));
}
}