summaryrefslogtreecommitdiff
path: root/src/third_party/asio-master/asio/include/asio/system_context.hpp
diff options
context:
space:
mode:
authorAndrew Morrow <acm@mongodb.com>2018-02-06 17:26:03 -0500
committerAndrew Morrow <acm@mongodb.com>2018-02-09 10:44:33 -0500
commit528f55b00665a49f6b100172914a15489cf6ebfa (patch)
tree02692feea2d64567782efe28703024f07ed6f304 /src/third_party/asio-master/asio/include/asio/system_context.hpp
parent695d94255348302be2d804e2187eb61e15cbb412 (diff)
downloadmongo-528f55b00665a49f6b100172914a15489cf6ebfa.tar.gz
SERVER-33181 Upgrade asio to current master
Diffstat (limited to 'src/third_party/asio-master/asio/include/asio/system_context.hpp')
-rw-r--r--src/third_party/asio-master/asio/include/asio/system_context.hpp9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/third_party/asio-master/asio/include/asio/system_context.hpp b/src/third_party/asio-master/asio/include/asio/system_context.hpp
index 6c833e2b18f..5762fca8cd4 100644
--- a/src/third_party/asio-master/asio/include/asio/system_context.hpp
+++ b/src/third_party/asio-master/asio/include/asio/system_context.hpp
@@ -19,12 +19,13 @@
#include "asio/detail/scheduler.hpp"
#include "asio/detail/thread_group.hpp"
#include "asio/execution_context.hpp"
-#include "asio/system_executor.hpp"
#include "asio/detail/push_options.hpp"
namespace asio {
+class system_executor;
+
/// The executor context for the system executor.
class system_context : public execution_context
{
@@ -36,10 +37,7 @@ public:
ASIO_DECL ~system_context();
/// Obtain an executor for the context.
- executor_type get_executor() ASIO_NOEXCEPT
- {
- return system_executor();
- }
+ executor_type get_executor() ASIO_NOEXCEPT;
/// Signal all threads in the system thread pool to stop.
ASIO_DECL void stop();
@@ -72,6 +70,7 @@ private:
#include "asio/detail/pop_options.hpp"
+#include "asio/impl/system_context.hpp"
#if defined(ASIO_HEADER_ONLY)
# include "asio/impl/system_context.ipp"
#endif // defined(ASIO_HEADER_ONLY)