Remove BOOST_BEAST_USE_STD_STRING_VIEW deprecation warning

Closes #2594
This commit is contained in:
Mohammad Nejati
2024-02-14 16:25:03 +00:00
committed by Mohammad Nejati
parent dc154bc0bd
commit e42cf8a1e4

View File

@ -11,12 +11,7 @@
#define BOOST_BEAST_STRING_TYPE_HPP
#include <boost/beast/core/detail/config.hpp>
#include <boost/core/detail/string_view.hpp>
#if defined(BOOST_BEAST_USE_STD_STRING_VIEW)
#include <boost/config/pragma_message.hpp>
BOOST_PRAGMA_MESSAGE("BOOST_BEAST_USE_STD_STRING_VIEW is deprecated, use BOOST_NO_CXX17_HDR_STRING_VIEW instead");
#endif
namespace boost {
namespace beast {