Use beast::string_view alias

This commit is contained in:
Vinnie Falco
2017-07-20 08:12:16 -07:00
parent f50a37b778
commit 84ece031f2
36 changed files with 319 additions and 288 deletions
+2 -2
View File
@@ -176,7 +176,7 @@ public:
}
void
write(boost::string_ref const& s,
write(string_view const& s,
error_code& ec)
{
body_.append(s.data(), s.size());
@@ -464,7 +464,7 @@ public:
struct bodyHandler
{
void
operator()(boost::string_ref const& body) const
operator()(string_view const& body) const
{
// called for each piece of the body,
}