Canonicalize string_view parameter types

This commit is contained in:
Vinnie Falco
2017-07-20 08:12:18 -07:00
parent 048ee7523c
commit aa2c915c96
22 changed files with 141 additions and 140 deletions
+16 -16
View File
@@ -200,8 +200,8 @@ public:
template<class NextLayer>
void
handshake(stream<NextLayer>& ws,
string_view const& uri,
string_view const& path) const
string_view uri,
string_view path) const
{
ws.handshake(uri, path);
}
@@ -210,8 +210,8 @@ public:
void
handshake(stream<NextLayer>& ws,
response_type& res,
string_view const& uri,
string_view const& path) const
string_view uri,
string_view path) const
{
ws.handshake(res, uri, path);
}
@@ -219,8 +219,8 @@ public:
template<class NextLayer, class Decorator>
void
handshake_ex(stream<NextLayer>& ws,
string_view const& uri,
string_view const& path,
string_view uri,
string_view path,
Decorator const& d) const
{
ws.handshake_ex(uri, path, d);
@@ -230,8 +230,8 @@ public:
void
handshake_ex(stream<NextLayer>& ws,
response_type& res,
string_view const& uri,
string_view const& path,
string_view uri,
string_view path,
Decorator const& d) const
{
ws.handshake_ex(res, uri, path, d);
@@ -413,8 +413,8 @@ public:
template<class NextLayer>
void
handshake(stream<NextLayer>& ws,
string_view const& uri,
string_view const& path) const
string_view uri,
string_view path) const
{
error_code ec;
ws.async_handshake(
@@ -427,8 +427,8 @@ public:
void
handshake(stream<NextLayer>& ws,
response_type& res,
string_view const& uri,
string_view const& path) const
string_view uri,
string_view path) const
{
error_code ec;
ws.async_handshake(
@@ -440,8 +440,8 @@ public:
template<class NextLayer, class Decorator>
void
handshake_ex(stream<NextLayer>& ws,
string_view const& uri,
string_view const& path,
string_view uri,
string_view path,
Decorator const &d) const
{
error_code ec;
@@ -455,8 +455,8 @@ public:
void
handshake_ex(stream<NextLayer>& ws,
response_type& res,
string_view const& uri,
string_view const& path,
string_view uri,
string_view path,
Decorator const &d) const
{
error_code ec;