summaryrefslogtreecommitdiff
path: root/doc/html/boost_asio/example/cpp03/iostreams/http_client.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'doc/html/boost_asio/example/cpp03/iostreams/http_client.cpp')
-rw-r--r--doc/html/boost_asio/example/cpp03/iostreams/http_client.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/html/boost_asio/example/cpp03/iostreams/http_client.cpp b/doc/html/boost_asio/example/cpp03/iostreams/http_client.cpp
index 52842abfd7..2460123297 100644
--- a/doc/html/boost_asio/example/cpp03/iostreams/http_client.cpp
+++ b/doc/html/boost_asio/example/cpp03/iostreams/http_client.cpp
@@ -2,7 +2,7 @@
// http_client.cpp
// ~~~~~~~~~~~~~~~
//
-// Copyright (c) 2003-2017 Christopher M. Kohlhoff (chris at kohlhoff dot com)
+// Copyright (c) 2003-2018 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)
@@ -33,7 +33,7 @@ int main(int argc, char* argv[])
// The entire sequence of I/O operations must complete within 60 seconds.
// If an expiry occurs, the socket is automatically closed and the stream
// becomes bad.
- s.expires_after(boost::posix_time::seconds(60));
+ s.expires_after(boost::asio::chrono::seconds(60));
// Establish a connection to the server.
s.connect(argv[1], "http");