From dcfd07f6f2630044b40ce1add47933de99e67c61 Mon Sep 17 00:00:00 2001 From: Vinnie Falco Date: Sat, 28 Apr 2018 11:09:29 -0700 Subject: [PATCH] Use fully qualified namespace in BOOST_BEAST_HANDLER_INIT --- CHANGELOG.md | 1 + include/boost/beast/core/detail/type_traits.hpp | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 243ae321..33ddd5d2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,7 @@ Version 169: * Use buffers_to_string in tests * Use boost::void_t * Refactor HTTP write_op implementation +* Use fully qualified namespace in BOOST_BEAST_HANDLER_INIT -------------------------------------------------------------------------------- diff --git a/include/boost/beast/core/detail/type_traits.hpp b/include/boost/beast/core/detail/type_traits.hpp index 8bc5a869..3d379846 100644 --- a/include/boost/beast/core/detail/type_traits.hpp +++ b/include/boost/beast/core/detail/type_traits.hpp @@ -461,7 +461,7 @@ buffers_range(Buffers const& buffers) expected by the initiating function, */ #define BOOST_BEAST_HANDLER_INIT(type, sig) \ - static_assert(is_completion_handler< \ + static_assert(boost::beast::is_completion_handler< \ BOOST_ASIO_HANDLER_TYPE(type, sig), sig>::value, \ "CompletionHandler signature requirements not met"); \ boost::asio::async_completion init{handler}