Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 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
- }
- }
- }
Add Comment
Please, Sign In to add comment