summaryrefslogtreecommitdiff
path: root/AK
diff options
context:
space:
mode:
authorNico Weber <thakis@chromium.org>2020-11-05 15:55:40 -0500
committerAndreas Kling <kling@serenityos.org>2020-11-07 18:28:35 +0100
commite673abb93ff4d634d56b6df291d30409fbefa51a (patch)
treed295a864bdaf72ac09beed625dda5a5595a55fc6 /AK
parent2c9e6585f8cc3c8a739feecab6913f3b71f56b49 (diff)
downloadserenity-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.h3
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
{