mirror of
https://github.com/boostorg/beast.git
synced 2026-01-27 17:52:20 +01:00
Use beast::string_view alias
This commit is contained in:
@@ -218,7 +218,7 @@ public:
|
||||
|
||||
template<bool isRequest, class Pred>
|
||||
void
|
||||
good(boost::string_ref const& s,
|
||||
good(string_view const& s,
|
||||
Pred const& pred, bool skipBody = false)
|
||||
{
|
||||
using boost::asio::buffer;
|
||||
@@ -240,7 +240,7 @@ public:
|
||||
|
||||
template<bool isRequest>
|
||||
void
|
||||
good(boost::string_ref const& s)
|
||||
good(string_view const& s)
|
||||
{
|
||||
good<isRequest>(s,
|
||||
[](test_parser<isRequest> const&)
|
||||
@@ -250,7 +250,7 @@ public:
|
||||
|
||||
template<bool isRequest>
|
||||
void
|
||||
bad(boost::string_ref const& s,
|
||||
bad(string_view const& s,
|
||||
error_code const& ev, bool skipBody = false)
|
||||
{
|
||||
using boost::asio::buffer;
|
||||
|
||||
Reference in New Issue
Block a user