]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/boost/libs/asio/example/cpp03/http/server/connection.cpp
update sources to v12.2.3
[ceph.git] / ceph / src / boost / libs / asio / example / cpp03 / http / server / connection.cpp
index 3c76f468d1ac7fdb89e7582c9acab4dbe2fe718c..c9222576977cbb53c7624a30f814524a83dc5b94 100644 (file)
@@ -2,7 +2,7 @@
 // connection.cpp
 // ~~~~~~~~~~~~~~
 //
-// Copyright (c) 2003-2016 Christopher M. Kohlhoff (chris at kohlhoff dot com)
+// Copyright (c) 2003-2017 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)
@@ -17,9 +17,9 @@
 namespace http {
 namespace server {
 
-connection::connection(boost::asio::io_service& io_service,
+connection::connection(boost::asio::io_context& io_context,
     connection_manager& manager, request_handler& handler)
-  : socket_(io_service),
+  : socket_(io_context),
     connection_manager_(manager),
     request_handler_(handler)
 {