Fix up some comments on #endif preprocessor directives.

This commit is contained in:
Christopher Kohlhoff 2017-01-17 08:07:54 +11:00
parent bc87d093d1
commit 22924d3a0f
3 changed files with 3 additions and 3 deletions

View File

@ -68,7 +68,7 @@ void test()
#if !defined(ASIO_NO_DEPRECATED)
io_context& ioc_ref = handle1.get_io_context();
(void)ioc_ref;
#endif !defined(ASIO_NO_DEPRECATED)
#endif // !defined(ASIO_NO_DEPRECATED)
io_context::executor_type ex = handle1.get_executor();
(void)ex;

View File

@ -75,7 +75,7 @@ void test()
#if !defined(ASIO_NO_DEPRECATED)
io_context& ioc_ref = handle1.get_io_context();
(void)ioc_ref;
#endif !defined(ASIO_NO_DEPRECATED)
#endif // !defined(ASIO_NO_DEPRECATED)
io_context::executor_type ex = handle1.get_executor();
(void)ex;

View File

@ -74,7 +74,7 @@ void test()
#if !defined(ASIO_NO_DEPRECATED)
io_context& ioc_ref = handle1.get_io_context();
(void)ioc_ref;
#endif !defined(ASIO_NO_DEPRECATED)
#endif // !defined(ASIO_NO_DEPRECATED)
io_context::executor_type ex = handle1.get_executor();
(void)ex;