mirror of
https://github.com/boostorg/asio.git
synced 2026-01-21 04:42:11 +00:00
Initial merge of Networking TS compatibility.
Merged from chriskohlhoff/asio master branch as of commit 4a4d28b0d24c53236e229bd1b5f378c9964b1ebb.
This commit is contained in:
@@ -16,7 +16,7 @@
|
||||
class printer
|
||||
{
|
||||
public:
|
||||
printer(boost::asio::io_service& io)
|
||||
printer(boost::asio::io_context& io)
|
||||
: timer_(io, boost::posix_time::seconds(1)),
|
||||
count_(0)
|
||||
{
|
||||
@@ -47,7 +47,7 @@ private:
|
||||
|
||||
int main()
|
||||
{
|
||||
boost::asio::io_service io;
|
||||
boost::asio::io_context io;
|
||||
printer p(io);
|
||||
io.run();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user