summaryrefslogtreecommitdiff
path: root/boost/asio/coroutine.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'boost/asio/coroutine.hpp')
-rw-r--r--boost/asio/coroutine.hpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/boost/asio/coroutine.hpp b/boost/asio/coroutine.hpp
index b195b12ed8..c519295310 100644
--- a/boost/asio/coroutine.hpp
+++ b/boost/asio/coroutine.hpp
@@ -2,7 +2,7 @@
// coroutine.hpp
// ~~~~~~~~~~~~~
//
-// Copyright (c) 2003-2018 Christopher M. Kohlhoff (chris at kohlhoff dot com)
+// Copyright (c) 2003-2019 Christopher M. Kohlhoff (chris at kohlhoff dot com)
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
@@ -206,7 +206,7 @@ class coroutine_ref;
* {
* do
* {
- * socket_.reset(new tcp::socket(io_context_));
+ * socket_.reset(new tcp::socket(my_context_));
* yield acceptor->async_accept(*socket_, *this);
* fork server(*this)();
* } while (is_parent());
@@ -228,7 +228,7 @@ class coroutine_ref;
* Note that @c fork doesn't do the actual forking by itself. It is the
* application's responsibility to create a clone of the coroutine and call it.
* The clone can be called immediately, as above, or scheduled for delayed
- * execution using something like io_context::post().
+ * execution using something like boost::asio::post().
*
* @par Alternate macro names
*