summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibRegex/RegexLexer.h
diff options
context:
space:
mode:
Diffstat (limited to 'Userland/Libraries/LibRegex/RegexLexer.h')
-rw-r--r--Userland/Libraries/LibRegex/RegexLexer.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibRegex/RegexLexer.h b/Userland/Libraries/LibRegex/RegexLexer.h
index c7a753c63a..33a335b8d1 100644
--- a/Userland/Libraries/LibRegex/RegexLexer.h
+++ b/Userland/Libraries/LibRegex/RegexLexer.h
@@ -52,7 +52,7 @@ public:
}
TokenType type() const { return m_type; }
- StringView const& value() const { return m_value; }
+ StringView value() const { return m_value; }
size_t position() const { return m_position; }
char const* name() const;