Don't provide io_service typedef when ASIO_NO_DEPRECATED is defined.

This commit is contained in:
Christopher Kohlhoff 2015-05-11 09:29:32 +10:00
parent 47b956f539
commit d3bbf3756d

View File

@ -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