diff --git a/base/components/gen/especifier.hpp b/base/components/gen/especifier.hpp index f75f94d..bfbcdd1 100644 --- a/base/components/gen/especifier.hpp +++ b/base/components/gen/especifier.hpp @@ -39,7 +39,7 @@ enum Specifier : u32 inline Str spec_to_str( Specifier type ) { - local_persist Str lookup[26] = { + local_persist Str lookup[] = { { "INVALID", sizeof( "INVALID" ) - 1 }, { "consteval", sizeof( "consteval" ) - 1 }, { "constexpr", sizeof( "constexpr" ) - 1 }, diff --git a/base/helpers/base_codegen.hpp b/base/helpers/base_codegen.hpp index 1a405f3..47293fc 100644 --- a/base/helpers/base_codegen.hpp +++ b/base/helpers/base_codegen.hpp @@ -237,7 +237,7 @@ CodeBody gen_especifier( char const* path, bool use_c_definition = false ) Str spec_to_str( Specifier type ) { local_persist - Str lookup[] = { + Str lookup[] = { };