From bd48d270bec64b5011a604f17c0a02887cf7a2b3 Mon Sep 17 00:00:00 2001 From: Username404 Date: Fri, 8 Jul 2022 11:06:16 +0200 Subject: [PATCH] Parser.hpp: Make sure the T typename propagates to the function call in the parse overload Signed-off-by: Username404 --- src/headers/parsing/Parser.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/headers/parsing/Parser.hpp b/src/headers/parsing/Parser.hpp index 86f45a1..1f1788e 100644 --- a/src/headers/parsing/Parser.hpp +++ b/src/headers/parsing/Parser.hpp @@ -157,7 +157,7 @@ namespace Parser { return parseTree; } template T> - inline T parse(const input_iterator auto& begin, const input_iterator auto& end) { return parse(span(begin, end)); } + inline T parse(const input_iterator auto& begin, const input_iterator auto& end) { return parse(span(begin, end)); } } #endif //YERBACON_PARSER_HPP \ No newline at end of file