aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/server/lexer/lexer.cpp
diff options
context:
space:
mode:
authorEgor Tensin <egor@tensin.name>2026-06-04 16:39:58 +0200
committerEgor Tensin <egor@tensin.name>2026-06-04 16:41:09 +0200
commitc547aac3154962508fed5829d4c166394f2c168b (patch)
tree61338991c93dded56dfede2a983d4cefebc64d18 /server/lexer/lexer.cpp
parentadjust the formatting a little bit (diff)
downloadmath-server-c547aac3154962508fed5829d4c166394f2c168b.tar.gz
math-server-c547aac3154962508fed5829d4c166394f2c168b.zip
fix std::string_view usage
Diffstat (limited to 'server/lexer/lexer.cpp')
-rw-r--r--server/lexer/lexer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/lexer/lexer.cpp b/server/lexer/lexer.cpp
index e82e564..14ae24e 100644
--- a/server/lexer/lexer.cpp
+++ b/server/lexer/lexer.cpp
@@ -17,7 +17,7 @@
namespace math::server {
-Lexer::Lexer(const std::string_view& input) : Lexer{lexer::Input{input}} {}
+Lexer::Lexer(std::string_view input) : Lexer{lexer::Input{input}} {}
Lexer::Lexer(const lexer::Input& input) : m_input{input} {
consume_token();