diff options
Diffstat (limited to 'src/third_party/asio-master/asio/include/asio/impl/use_future.hpp')
-rw-r--r-- | src/third_party/asio-master/asio/include/asio/impl/use_future.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/third_party/asio-master/asio/include/asio/impl/use_future.hpp b/src/third_party/asio-master/asio/include/asio/impl/use_future.hpp index 94e8af7f6cd..b743166543f 100644 --- a/src/third_party/asio-master/asio/include/asio/impl/use_future.hpp +++ b/src/third_party/asio-master/asio/include/asio/impl/use_future.hpp @@ -2,7 +2,7 @@ // impl/use_future.hpp // ~~~~~~~~~~~~~~~~~~~ // -// 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) @@ -174,7 +174,7 @@ class promise_invoker public: promise_invoker(const shared_ptr<std::promise<T> >& p, ASIO_MOVE_ARG(F) f) - : p_(p), f_(f) + : p_(p), f_(ASIO_MOVE_CAST(F)(f)) { } |