diff options
author | Lorry Tar Creator <lorry-tar-importer@baserock.org> | 2015-04-08 03:09:47 +0000 |
---|---|---|
committer | <> | 2015-05-05 14:37:32 +0000 |
commit | f2541bb90af059680aa7036f315f052175999355 (patch) | |
tree | a5b214744b256f07e1dc2bd7273035a7808c659f /libs/asio/example/cpp03/tutorial/timer3/timer.cpp | |
parent | ed232fdd34968697a68783b3195b1da4226915b5 (diff) | |
download | boost-tarball-master.tar.gz |
Imported from /home/lorry/working-area/delta_boost-tarball/boost_1_58_0.tar.bz2.HEADboost_1_58_0master
Diffstat (limited to 'libs/asio/example/cpp03/tutorial/timer3/timer.cpp')
-rw-r--r-- | libs/asio/example/cpp03/tutorial/timer3/timer.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libs/asio/example/cpp03/tutorial/timer3/timer.cpp b/libs/asio/example/cpp03/tutorial/timer3/timer.cpp index 84f1dbcd3..dc415bb25 100644 --- a/libs/asio/example/cpp03/tutorial/timer3/timer.cpp +++ b/libs/asio/example/cpp03/tutorial/timer3/timer.cpp @@ -2,7 +2,7 @@ // timer.cpp // ~~~~~~~~~ // -// Copyright (c) 2003-2014 Christopher M. Kohlhoff (chris at kohlhoff dot com) +// Copyright (c) 2003-2015 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) @@ -18,7 +18,7 @@ void print(const boost::system::error_code& /*e*/, { if (*count < 5) { - std::cout << *count << "\n"; + std::cout << *count << std::endl; ++(*count); t->expires_at(t->expires_at() + boost::posix_time::seconds(1)); @@ -38,7 +38,7 @@ int main() io.run(); - std::cout << "Final count is " << count << "\n"; + std::cout << "Final count is " << count << std::endl; return 0; } |