Application: make a variable constexpr.
This commit is contained in:
parent
e425c81db6
commit
a3c2865e68
1 changed files with 1 additions and 1 deletions
|
@ -324,7 +324,7 @@ Application::drawWeaponEditor(GameObjects::Weapon& weapon) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
static Containers::StringView labels[] {
|
static constexpr Containers::StringView labels[] {
|
||||||
#define c(enumerator, strenum, name) name,
|
#define c(enumerator, strenum, name) name,
|
||||||
#include "../Maps/WeaponTypes.hpp"
|
#include "../Maps/WeaponTypes.hpp"
|
||||||
#undef c
|
#undef c
|
||||||
|
|
Loading…
Reference in a new issue