From 319c30cd039a54343fb3622b1b043c021056797d Mon Sep 17 00:00:00 2001 From: Username404 Date: Tue, 27 Sep 2022 16:08:44 +0000 Subject: [PATCH] ReservedIdentifiers.hpp: Make the identifiers array's initialization strictly constant --- src/headers/parsing/ReservedIdentifiers.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/headers/parsing/ReservedIdentifiers.hpp b/src/headers/parsing/ReservedIdentifiers.hpp index 0801838..3bc29d1 100644 --- a/src/headers/parsing/ReservedIdentifiers.hpp +++ b/src/headers/parsing/ReservedIdentifiers.hpp @@ -6,7 +6,7 @@ #include "../Yerbacon.hpp" #include -static const array identifiers { +static constinit const array identifiers { "class", "structure", "print", "print_line" };