Sfoglia il codice sorgente

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.
Nico Weber 4 anni fa
parent
commit
e673abb93f
1 ha cambiato i file con 0 aggiunte e 3 eliminazioni
  1. 0 3
      AK/StringView.h

+ 0 - 3
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
     {