Use a constexpr for esm cc

pull/593/head
jvoisin 4 years ago
parent e74ea56434
commit 89f721fad3

@ -85,7 +85,7 @@ bool inline operator!= (const Position& left, const Position& right) noexcept
template <int a, int b, int c, int d> template <int a, int b, int c, int d>
struct FourCC 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 enum RecNameInts

Loading…
Cancel
Save