SCons: Add enum conversion warning
This commit is contained in:
parent
e37c6261ea
commit
dc9c34f0c6
14 changed files with 67 additions and 77 deletions
|
|
@ -39,11 +39,9 @@ public:
|
|||
COMPRESS_ZSTD,
|
||||
};
|
||||
|
||||
enum {
|
||||
TOKEN_BYTE_MASK = 0x80,
|
||||
TOKEN_BITS = 8,
|
||||
TOKEN_MASK = (1 << (TOKEN_BITS - 1)) - 1,
|
||||
};
|
||||
static constexpr uint32_t TOKEN_BYTE_MASK = 0x80;
|
||||
static constexpr uint32_t TOKEN_BITS = 8;
|
||||
static constexpr uint32_t TOKEN_MASK = (1 << (TOKEN_BITS - 1)) - 1;
|
||||
|
||||
Vector<StringName> identifiers;
|
||||
Vector<Variant> constants;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue