rm c-style array

This commit is contained in:
m-aXimilian
2025-06-14 17:15:13 +02:00
parent 896ddfb720
commit babb646c15
3 changed files with 7 additions and 7 deletions
+3 -2
View File
@@ -1,6 +1,8 @@
#pragma once
/*-- Gets filled in during the cmake configuration step --*/
#include <array>
#include <string_view>
#cmakedefine PIXELARIUM_TITLE "@PIXELARIUM_TITLE@"
#define MAINMENUNAME "Menu"
@@ -8,5 +10,4 @@
#define LOGLEVELSELECT "Log Level"
#define SHOWIMGUIDEMOS "ImGui Demos"
inline constexpr const char* LOGLEVELS[] = {"Trace", "Debug", "Info", "Warning", "Error"};
inline constexpr std::array<std::string_view, 5> LOGLEVELS = {"Trace", "Debug", "Info", "Warning", "Error"};