]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/boost/libs/asio/example/cpp03/tutorial/timer1/timer.cpp
update sources to v12.2.3
[ceph.git] / ceph / src / boost / libs / asio / example / cpp03 / tutorial / timer1 / timer.cpp
index 5c01de5af406284937a846943c7e2bb7cfeb921c..a2ef07a9892090e34433c4c97214689a7c82bfa7 100644 (file)
@@ -2,7 +2,7 @@
 // timer.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)
@@ -14,7 +14,7 @@
 
 int main()
 {
-  boost::asio::io_service io;
+  boost::asio::io_context io;
 
   boost::asio::deadline_timer t(io, boost::posix_time::seconds(5));
   t.wait();