diff options
author | Nico Weber <thakis@chromium.org> | 2020-11-05 15:55:40 -0500 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-11-07 18:28:35 +0100 |
commit | e673abb93ff4d634d56b6df291d30409fbefa51a (patch) | |
tree | d295a864bdaf72ac09beed625dda5a5595a55fc6 /AK | |
parent | 2c9e6585f8cc3c8a739feecab6913f3b71f56b49 (diff) | |
download | serenity-e673abb93ff4d634d56b6df291d30409fbefa51a.zip |
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.
Diffstat (limited to 'AK')
-rw-r--r-- | AK/StringView.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/AK/StringView.h b/AK/StringView.h index e46eb3d689..99f03beaa5 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<typename T, typename... Rest> bool is_one_of(const T& string, Rest... rest) const { |