From 82d733af5456cb9b9ed4ed8f54f21d8e5504b74a Mon Sep 17 00:00:00 2001 From: Username404 Date: Sat, 18 Sep 2021 16:34:01 +0200 Subject: [PATCH] Edit the use of convertible_to in Parser.hpp --- 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 930c61b..b1056c3 100644 --- a/src/headers/parsing/Parser.hpp +++ b/src/headers/parsing/Parser.hpp @@ -15,7 +15,7 @@ namespace Parser { using namespace StandardComponents; using enum tok::type; unsigned int i = 0; - const auto nextAre = [&i, &lexed] T>(const initializer_list& nextValues) { + const auto nextAre = [&i, &lexed] T>(const initializer_list& nextValues) { unsigned int j = 1; for (const T& nextValue: nextValues) { if (!cmp_greater(lexed.size() - i, nextValues.size()) || lexed[i + j].toktype != nextValue) {