summaryrefslogtreecommitdiff
path: root/boost/asio/system_context.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'boost/asio/system_context.hpp')
-rw-r--r--boost/asio/system_context.hpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/boost/asio/system_context.hpp b/boost/asio/system_context.hpp
index 22f6b19426..96d29f4249 100644
--- a/boost/asio/system_context.hpp
+++ b/boost/asio/system_context.hpp
@@ -2,7 +2,7 @@
// system_context.hpp
// ~~~~~~~~~~~~~~~~~~
//
-// Copyright (c) 2003-2018 Christopher M. Kohlhoff (chris at kohlhoff dot com)
+// Copyright (c) 2003-2019 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)
@@ -60,6 +60,9 @@ private:
struct thread_function;
+ // Helper function to create the underlying scheduler.
+ BOOST_ASIO_DECL detail::scheduler& add_scheduler(detail::scheduler* s);
+
// The underlying scheduler.
detail::scheduler& scheduler_;