mirror of
https://github.com/OpenMW/openmw.git
synced 2025-06-06 11:41:33 +00:00
Merge branch 'constexpr_esm' into 'master'
Use a constexpr for esm cc See merge request OpenMW/openmw!849
This commit is contained in:
commit
4a7147e222
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue