summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibJS/Lexer.h
diff options
context:
space:
mode:
Diffstat (limited to 'Userland/Libraries/LibJS/Lexer.h')
-rw-r--r--Userland/Libraries/LibJS/Lexer.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Userland/Libraries/LibJS/Lexer.h b/Userland/Libraries/LibJS/Lexer.h
index ee151a5753..6f5e3cbdb5 100644
--- a/Userland/Libraries/LibJS/Lexer.h
+++ b/Userland/Libraries/LibJS/Lexer.h
@@ -20,8 +20,8 @@ public:
Token next();
- const StringView& source() const { return m_source; };
- const StringView& filename() const { return m_filename; };
+ StringView source() const { return m_source; };
+ StringView filename() const { return m_filename; };
void disallow_html_comments() { m_allow_html_comments = false; };