diff options
author | Ed Tanous <edtanous@google.com> | 2022-07-11 19:50:41 +0300 |
---|---|---|
committer | Ed Tanous <ed@tanous.net> | 2022-07-16 05:03:56 +0300 |
commit | 11ba39793c016e8476e44be880fb267e059dd4eb (patch) | |
tree | 863b07c67ed699cf051ed792b01f68c82027c94c /http/websocket.hpp | |
parent | 433b68b477a82a31de4104a83404021de1f30214 (diff) | |
download | bmcweb-11ba39793c016e8476e44be880fb267e059dd4eb.tar.xz |
Remove usages of boost::starts/ends_with
Per the coding standard, now that C++ supports std::string::starts_with
and std::string::ends_with, we should be using them over the boost
alternatives. This commit goes through and updates all usages.
Arguably some of these are incorrect, and instances of common error 13,
but because this is mostly a mechanical it intentionally doesn't try to
handle it.
Tested: Unit tests pass.
Signed-off-by: Ed Tanous <edtanous@google.com>
Change-Id: Ic4c6e5d0da90f7442693199dc691a47d2240fa4f
Diffstat (limited to 'http/websocket.hpp')
-rw-r--r-- | http/websocket.hpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/http/websocket.hpp b/http/websocket.hpp index 3aa8554e1c..ecaa1d2f9a 100644 --- a/http/websocket.hpp +++ b/http/websocket.hpp @@ -2,7 +2,6 @@ #include "http_request.hpp" #include <async_resp.hpp> -#include <boost/algorithm/string/predicate.hpp> #include <boost/asio/buffer.hpp> #include <boost/beast/websocket.hpp> |