diff --git a/components/esm/defs.hpp b/components/esm/defs.hpp index 9bf9b01f3..1b623f69f 100644 --- a/components/esm/defs.hpp +++ b/components/esm/defs.hpp @@ -85,7 +85,7 @@ bool inline operator!= (const Position& left, const Position& right) noexcept template struct FourCC { - static const unsigned int value = (((((d << 8) | c) << 8) | b) << 8) | a; + static constexpr unsigned int value = (((((d << 8) | c) << 8) | b) << 8) | a; }; enum RecNameInts