ソースを参照

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 年 前
コミット
e673abb93f
1 ファイル変更0 行追加3 行削除
  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
     {