aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/server/parser/parser.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'server/parser/parser.hpp')
-rw-r--r--server/parser/parser.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/parser/parser.hpp b/server/parser/parser.hpp
index 5b17f70..ddce8d9 100644
--- a/server/parser/parser.hpp
+++ b/server/parser/parser.hpp
@@ -24,7 +24,7 @@ public:
// a finer algorithm for parsing arithmetic expressions.
// Reference: https://en.wikipedia.org/wiki/Operator-precedence_parser
- explicit Parser(const std::string_view& input) : m_lexer{input} {}
+ explicit Parser(std::string_view input) : m_lexer{input} {}
double exec() {
const auto result = exec_dmas();