From a3c2865e686d4a0206f5679e03ef816177eb8b6f Mon Sep 17 00:00:00 2001 From: Guillaume Jacquemin Date: Sun, 8 Dec 2024 20:34:05 +0100 Subject: [PATCH] Application: make a variable constexpr. --- src/Application/Application_MassViewer_Weapons.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Application/Application_MassViewer_Weapons.cpp b/src/Application/Application_MassViewer_Weapons.cpp index a6a6d3f..b75114f 100644 --- a/src/Application/Application_MassViewer_Weapons.cpp +++ b/src/Application/Application_MassViewer_Weapons.cpp @@ -324,7 +324,7 @@ Application::drawWeaponEditor(GameObjects::Weapon& weapon) { return; } - static Containers::StringView labels[] { + static constexpr Containers::StringView labels[] { #define c(enumerator, strenum, name) name, #include "../Maps/WeaponTypes.hpp" #undef c