summaryrefslogtreecommitdiff
path: root/AK/GenericLexer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'AK/GenericLexer.cpp')
-rw-r--r--AK/GenericLexer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/AK/GenericLexer.cpp b/AK/GenericLexer.cpp
index d6e977a007..29049257b4 100644
--- a/AK/GenericLexer.cpp
+++ b/AK/GenericLexer.cpp
@@ -69,7 +69,7 @@ StringView GenericLexer::consume_until(char stop)
}
// Consume and return characters until the string `stop` is found
-StringView GenericLexer::consume_until(const char* stop)
+StringView GenericLexer::consume_until(char const* stop)
{
size_t start = m_index;
while (!is_eof() && !next_is(stop))