summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibRegex/RegexLexer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Userland/Libraries/LibRegex/RegexLexer.cpp')
-rw-r--r--Userland/Libraries/LibRegex/RegexLexer.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/Userland/Libraries/LibRegex/RegexLexer.cpp b/Userland/Libraries/LibRegex/RegexLexer.cpp
index daaa665851..6aef00bd56 100644
--- a/Userland/Libraries/LibRegex/RegexLexer.cpp
+++ b/Userland/Libraries/LibRegex/RegexLexer.cpp
@@ -12,7 +12,7 @@
namespace regex {
-const char* Token::name(const TokenType type)
+char const* Token::name(TokenType const type)
{
switch (type) {
#define __ENUMERATE_REGEX_TOKEN(x) \
@@ -26,12 +26,12 @@ const char* Token::name(const TokenType type)
}
}
-const char* Token::name() const
+char const* Token::name() const
{
return name(m_type);
}
-Lexer::Lexer(const StringView source)
+Lexer::Lexer(StringView const source)
: m_source(source)
{
}