buffers_adapter.hpp 890 B

1234567891011121314151617181920212223242526272829303132333435
  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. #ifndef BOOST_BEAST_BUFFERS_ADAPTER_HPP
  10. #define BOOST_BEAST_BUFFERS_ADAPTER_HPP
  11. #include <boost/beast/core/detail/config.hpp>
  12. #ifdef BOOST_BEAST_ALLOW_DEPRECATED
  13. #include <boost/beast/core/buffers_adaptor.hpp>
  14. namespace boost {
  15. namespace beast {
  16. template<class MutableBufferSequence>
  17. using buffers_adapter = buffers_adaptor<MutableBufferSequence>;
  18. } // beast
  19. } // boost
  20. #else
  21. // The new filename is <boost/beast/core/buffers_adaptor.hpp>
  22. #error The file <boost/beast/core/buffers_adapter.hpp> is deprecated, define BOOST_BEAST_ALLOW_DEPRECATED to disable this error
  23. #endif
  24. #endif