Explorar o código

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 %!s(int64=4) %!d(string=hai) anos
pai
achega
e673abb93f
Modificáronse 1 ficheiros con 0 adicións e 3 borrados
  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
     {