diff options
Diffstat (limited to 'boost/beast/http/impl/rfc7230.hpp')
-rw-r--r-- | boost/beast/http/impl/rfc7230.hpp | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/boost/beast/http/impl/rfc7230.hpp b/boost/beast/http/impl/rfc7230.hpp index 11e424b4d1..40e2fff040 100644 --- a/boost/beast/http/impl/rfc7230.hpp +++ b/boost/beast/http/impl/rfc7230.hpp @@ -244,27 +244,6 @@ cend() const -> return const_iterator{s_.end(), s_.end()}; } -template<class T> -auto -ext_list:: -find(T const& s) -> - const_iterator -{ - return std::find_if(begin(), end(), - [&s](value_type const& v) - { - return iequals(s, v.first); - }); -} - -template<class T> -bool -ext_list:: -exists(T const& s) -{ - return find(s) != end(); -} - //------------------------------------------------------------------------------ @@ -378,19 +357,6 @@ cend() const -> return const_iterator{s_.end(), s_.end()}; } -template<class T> -bool -token_list:: -exists(T const& s) -{ - return std::find_if(begin(), end(), - [&s](value_type const& v) - { - return iequals(s, v); - } - ) != end(); -} - template<class Policy> bool validate_list(detail::basic_parsed_list< |