commit | d3bbf3756d7d7fc930236f78a89abe10f71e6b59 | [log] [tgz] |
---|---|---|
author | Christopher Kohlhoff <chris@kohlhoff.com> | Mon May 11 09:29:32 2015 +1000 |
committer | Christopher Kohlhoff <chris@kohlhoff.com> | Mon May 11 09:29:32 2015 +1000 |
tree | 59726a45ec6a2f07e98c1b3252414883142d8c2b | |
parent | 47b956f539b4193370b942a629af3d07f2fc449a [diff] |
Don't provide io_service typedef when ASIO_NO_DEPRECATED is defined.
diff --git a/asio/include/asio/io_service.hpp b/asio/include/asio/io_service.hpp index 4eb7cc5..3cb7448 100644 --- a/asio/include/asio/io_service.hpp +++ b/asio/include/asio/io_service.hpp
@@ -21,8 +21,10 @@ namespace asio { +#if !defined(ASIO_NO_DEPRECATED) /// Typedef for backwards compatibility. typedef io_context io_service; +#endif // !defined(ASIO_NO_DEPRECATED) } // namespace asio