1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-03-04 18:19:41 +00:00

Use a constexpr for esm cc

This commit is contained in:
jvoisin 2021-05-12 22:35:00 +02:00
parent e74ea56434
commit 89f721fad3

View file

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