summaryrefslogtreecommitdiff
path: root/boost/beast/http/impl/verb.ipp
diff options
context:
space:
mode:
Diffstat (limited to 'boost/beast/http/impl/verb.ipp')
-rw-r--r--boost/beast/http/impl/verb.ipp2
1 files changed, 1 insertions, 1 deletions
diff --git a/boost/beast/http/impl/verb.ipp b/boost/beast/http/impl/verb.ipp
index bfd703d05e..36a1734c33 100644
--- a/boost/beast/http/impl/verb.ipp
+++ b/boost/beast/http/impl/verb.ipp
@@ -127,7 +127,7 @@ string_to_verb(string_view v)
++s;
++p;
if(! *s)
- return p == sv.end();
+ return p == (sv.data() + sv.size());
}
};
auto c = v[0];