]>
Commit | Line | Data |
---|---|---|
7c673cae | 1 | // |
92f5a8d4 | 2 | // Copyright (c) 2016-2019 Vinnie Falco (vinnie dot falco at gmail dot com) |
7c673cae FG |
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 | // | |
b32b8144 FG |
7 | // Official repository: https://github.com/boostorg/beast |
8 | // | |
7c673cae | 9 | |
b32b8144 FG |
10 | #ifndef BOOST_BEAST_BUFFERS_ADAPTER_HPP |
11 | #define BOOST_BEAST_BUFFERS_ADAPTER_HPP | |
7c673cae | 12 | |
b32b8144 | 13 | #include <boost/beast/core/detail/config.hpp> |
7c673cae | 14 | |
92f5a8d4 | 15 | #ifdef BOOST_BEAST_ALLOW_DEPRECATED |
7c673cae | 16 | |
92f5a8d4 | 17 | #include <boost/beast/core/buffers_adaptor.hpp> |
7c673cae | 18 | |
92f5a8d4 TL |
19 | namespace boost { |
20 | namespace beast { | |
7c673cae | 21 | |
7c673cae | 22 | template<class MutableBufferSequence> |
92f5a8d4 | 23 | using buffers_adapter = buffers_adaptor<MutableBufferSequence>; |
7c673cae | 24 | |
92f5a8d4 TL |
25 | } // beast |
26 | } // boost | |
7c673cae FG |
27 | |
28 | #else | |
7c673cae | 29 | |
92f5a8d4 TL |
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 | |
7c673cae FG |
32 | |
33 | #endif | |
34 | ||
7c673cae | 35 | #endif |