summaryrefslogtreecommitdiff
path: root/src/string.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/string.hh')
-rw-r--r--src/string.hh10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/string.hh b/src/string.hh
index 55276d73..bdb28dd7 100644
--- a/src/string.hh
+++ b/src/string.hh
@@ -196,16 +196,6 @@ inline StringView String::substr(CharCount pos, CharCount length) const
return StringView{*this}.substr(pos, length);
}
-inline const char* begin(StringView str)
-{
- return str.begin();
-}
-
-inline const char* end(StringView str)
-{
- return str.end();
-}
-
inline String operator+(const char* lhs, const String& rhs)
{
return String(lhs) + rhs;