From e673abb93ff4d634d56b6df291d30409fbefa51a Mon Sep 17 00:00:00 2001 From: Nico Weber Date: Thu, 5 Nov 2020 15:55:40 -0500 Subject: [PATCH] AK: Remove duplicate begin()/end() methods begin()/end() returning a ConstItertor already exist further up in this file. Nothing uses these redundant versions, and they are not callable. --- AK/StringView.h | 3 --- 1 file changed, 3 deletions(-) diff --git a/AK/StringView.h b/AK/StringView.h index e46eb3d689d..99f03beaa56 100644 --- a/AK/StringView.h +++ b/AK/StringView.h @@ -178,9 +178,6 @@ public: String to_string() const; - const char* begin() { return m_characters; } - const char* end() { return m_characters + m_length; } - template bool is_one_of(const T& string, Rest... rest) const {