Use beast::string_view alias

This commit is contained in:
Vinnie Falco
2017-05-05 14:45:15 -07:00
parent f50a37b778
commit 84ece031f2
36 changed files with 319 additions and 288 deletions

View File

@@ -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;