From 49cdabca1903e2234e24769baf16d6e09b52861d Mon Sep 17 00:00:00 2001 From: Vinnie Falco Date: Tue, 27 Nov 2018 10:24:24 -0800 Subject: [PATCH] Add net namespace alias --- CHANGELOG.md | 1 + include/boost/beast/core/detail/config.hpp | 9 +++++++++ 2 files changed, 10 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6bce73ea..c0a74101 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,7 @@ Version 194: * http::async_read returns the right byte count on error +* Add net namespace alias -------------------------------------------------------------------------------- diff --git a/include/boost/beast/core/detail/config.hpp b/include/boost/beast/core/detail/config.hpp index 796b75ba..60243e42 100644 --- a/include/boost/beast/core/detail/config.hpp +++ b/include/boost/beast/core/detail/config.hpp @@ -18,6 +18,15 @@ #include #include +namespace boost { +namespace asio +{ +} // asio +namespace beast { +namespace net = boost::asio; +} // beast +} // boost + /* _MSC_VER and _MSC_FULL_VER by version: