From 426e9d4eb0f7315776ead83c780236511b48209f Mon Sep 17 00:00:00 2001 From: Jendrik Seipp Date: Tue, 9 Jan 2024 10:42:59 +0100 Subject: [PATCH] Fix header. --- src/search/parser/abstract_syntax_tree.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/search/parser/abstract_syntax_tree.h b/src/search/parser/abstract_syntax_tree.h index 968c7e2c5b..97b35c90f0 100644 --- a/src/search/parser/abstract_syntax_tree.h +++ b/src/search/parser/abstract_syntax_tree.h @@ -89,7 +89,7 @@ class ListNode : public ASTNode { class LiteralNode : public ASTNode { Token value; public: - explicit LiteralNode(Token value); + explicit LiteralNode(const Token &value); DecoratedASTNodePtr decorate(DecorateContext &context) const override; void dump(std::string indent) const override; const plugins::Type &get_type(DecorateContext &context) const override;