Don't provide io_service typedef when ASIO_NO_DEPRECATED is defined.
This commit is contained in:
parent
47b956f539
commit
d3bbf3756d
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user