diff --git a/asio/include/asio/executor.hpp b/asio/include/asio/executor.hpp index 1810d93b..3efbda60 100644 --- a/asio/include/asio/executor.hpp +++ b/asio/include/asio/executor.hpp @@ -325,7 +325,7 @@ private: } impl_base* impl_; -#endif // !defined(ASIO_NO_DEPRECATED) +#endif // !defined(GENERATING_DOCUMENTATION) }; #if !defined(GENERATING_DOCUMENTATION) diff --git a/asio/include/asio/impl/executor.hpp b/asio/include/asio/impl/executor.hpp index 38bcb452..8aa90798 100644 --- a/asio/include/asio/impl/executor.hpp +++ b/asio/include/asio/impl/executor.hpp @@ -379,7 +379,7 @@ const Executor* executor::target() const ASIO_NOEXCEPT ? static_cast(impl_->target()) : 0; } -#endif // !defined(ASIO_NO_DEPRECATED) +#endif // !defined(GENERATING_DOCUMENTATION) } // namespace asio