Guest User

Untitled

a guest
Jun 21st, 2018
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.70 KB | None | 0 0
  1. diff --git a/include/core/dbus/asio/executor.h b/include/core/dbus/asio/executor.h
  2. index d1f043e..7cbece2 100644
  3. --- a/include/core/dbus/asio/executor.h
  4. +++ b/include/core/dbus/asio/executor.h
  5. @@ -26,7 +26,11 @@
  6. {
  7. namespace asio
  8. {
  9. +#if BOOST_VERSION >= 106600
  10. +class io_context;
  11. +#else
  12. class io_service;
  13. +#endif
  14. }
  15. }
  16.  
  17. @@ -37,7 +41,11 @@
  18. namespace asio
  19. {
  20. ORG_FREEDESKTOP_DBUS_DLL_PUBLIC Executor::Ptr make_executor(const Bus::Ptr& bus);
  21. +#if BOOST_VERSION >= 106600
  22. +ORG_FREEDESKTOP_DBUS_DLL_PUBLIC Executor::Ptr make_executor(const Bus::Ptr& bus, boost::asio::io_context& io);
  23. +#else
  24. ORG_FREEDESKTOP_DBUS_DLL_PUBLIC Executor::Ptr make_executor(const Bus::Ptr& bus, boost::asio::io_service& io);
  25. +#endif
  26. }
  27. }
  28. }
Add Comment
Please, Sign In to add comment