From 44714e3f0451f1436282d3f9d56bcc539f220295 Mon Sep 17 00:00:00 2001 From: Vinnie Falco Date: Mon, 1 May 2017 08:52:02 -0700 Subject: [PATCH] Tidy up doc declarations --- include/beast/http/basic_parser.hpp | 2 +- include/beast/http/detail/basic_parsed_list.hpp | 2 +- include/beast/http/message_parser.hpp | 2 +- include/beast/http/read.hpp | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/include/beast/http/basic_parser.hpp b/include/beast/http/basic_parser.hpp index 755cccc1..df7a4d9f 100644 --- a/include/beast/http/basic_parser.hpp +++ b/include/beast/http/basic_parser.hpp @@ -400,7 +400,7 @@ public: std::size_t write(ConstBufferSequence const& buffers, error_code& ec); -#if ! GENERATING_DOCS +#if ! BEAST_DOXYGEN std::size_t write(boost::asio::const_buffers_1 const& buffer, error_code& ec); diff --git a/include/beast/http/detail/basic_parsed_list.hpp b/include/beast/http/detail/basic_parsed_list.hpp index 91224454..596cd558 100644 --- a/include/beast/http/detail/basic_parsed_list.hpp +++ b/include/beast/http/detail/basic_parsed_list.hpp @@ -32,7 +32,7 @@ public: using value_type = typename Policy::value_type; /// A constant iterator to a list element. -#if GENERATING_DOCS +#if BEAST_DOXYGEN using const_iterator = implementation_defined; #else class const_iterator; diff --git a/include/beast/http/message_parser.hpp b/include/beast/http/message_parser.hpp index 2c3a16e8..a6112481 100644 --- a/include/beast/http/message_parser.hpp +++ b/include/beast/http/message_parser.hpp @@ -81,7 +81,7 @@ public: resolution only if the first argument is not a @ref http::header_parser or @ref message_parser. */ -#if GENERATING_DOCS +#if BEAST_DOXYGEN template explicit msesage_parser(Args&&... args); diff --git a/include/beast/http/read.hpp b/include/beast/http/read.hpp index e0823da5..6ddc6172 100644 --- a/include/beast/http/read.hpp +++ b/include/beast/http/read.hpp @@ -179,7 +179,7 @@ template< class DynamicBuffer, bool isRequest, bool isDirect, class Derived, class ReadHandler> -#if GENERATING_DOCS +#if BEAST_DOXYGEN void_or_deduced #else typename async_completion<