diff --git a/CHANGELOG.md b/CHANGELOG.md index 111b927b..65990d50 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,7 @@ Version 169: * Use buffers_to_string in tests +* Use boost::void_t -------------------------------------------------------------------------------- diff --git a/include/boost/beast/core/detail/type_traits.hpp b/include/boost/beast/core/detail/type_traits.hpp index 3692b622..140d1750 100644 --- a/include/boost/beast/core/detail/type_traits.hpp +++ b/include/boost/beast/core/detail/type_traits.hpp @@ -59,8 +59,10 @@ max_alignof() } // (since C++17) -template struct make_void { using type = void; }; -template using void_t = typename make_void::type; +template +using make_void = boost::make_void; +template +using void_t = boost::void_t; // (since C++11) missing from g++4.8 template