1 // 2 // Copyright (c) 2016-2019 Vinnie Falco (vinnie dot falco at gmail dot com) 3 // 4 // Distributed under the Boost Software License, Version 1.0. (See accompanying 5 // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 6 // 7 // Official repository: https://github.com/boostorg/beast 8 // 9 10 #ifndef BOOST_BEAST_BUFFERS_ADAPTER_HPP 11 #define BOOST_BEAST_BUFFERS_ADAPTER_HPP 12 13 #include <boost/beast/core/detail/config.hpp> 14 15 #ifdef BOOST_BEAST_ALLOW_DEPRECATED 16 17 #include <boost/beast/core/buffers_adaptor.hpp> 18 19 namespace boost { 20 namespace beast { 21 22 template<class MutableBufferSequence> 23 using buffers_adapter = buffers_adaptor<MutableBufferSequence>; 24 25 } // beast 26 } // boost 27 28 #else 29 30 // The new filename is <boost/beast/core/buffers_adaptor.hpp> 31 #error The file <boost/beast/core/buffers_adapter.hpp> is deprecated, define BOOST_BEAST_ALLOW_DEPRECATED to disable this error 32 33 #endif 34 35 #endif 36