blob: c3c7f7bd7a56f0f09878b3992452de831f852701 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
diff --git a/include/core/dbus/asio/executor.h b/include/core/dbus/asio/executor.h
index d1f043e..7cbece2 100644
--- a/include/core/dbus/asio/executor.h
+++ b/include/core/dbus/asio/executor.h
@@ -26,7 +26,11 @@
{
namespace asio
{
+#if BOOST_VERSION >= 106600
+class io_context;
+#else
class io_service;
+#endif
}
}
@@ -37,7 +41,11 @@
namespace asio
{
ORG_FREEDESKTOP_DBUS_DLL_PUBLIC Executor::Ptr make_executor(const Bus::Ptr& bus);
+#if BOOST_VERSION >= 106600
+ORG_FREEDESKTOP_DBUS_DLL_PUBLIC Executor::Ptr make_executor(const Bus::Ptr& bus, boost::asio::io_context& io);
+#else
ORG_FREEDESKTOP_DBUS_DLL_PUBLIC Executor::Ptr make_executor(const Bus::Ptr& bus, boost::asio::io_service& io);
+#endif
}
}
}
|