mirror of
https://github.com/Relintai/pandemonium_engine.git
synced 2024-11-22 00:48:09 +01:00
Use FALLTHROUGH macro instead on [[fallthrough]];
This commit is contained in:
parent
8095fd84fb
commit
6f35d04ef3
@ -211,10 +211,10 @@ static _FORCE_INLINE_ uint32_t hash_murmur3_buffer(const void *key, int length,
|
||||
switch (length & 3) {
|
||||
case 3:
|
||||
k1 ^= tail[2] << 16;
|
||||
[[fallthrough]];
|
||||
FALLTHROUGH
|
||||
case 2:
|
||||
k1 ^= tail[1] << 8;
|
||||
[[fallthrough]];
|
||||
FALLTHROUGH
|
||||
case 1:
|
||||
k1 ^= tail[0];
|
||||
k1 *= c1;
|
||||
|
@ -5460,7 +5460,7 @@ int64_t String::to_int(const CharType *p_str, int p_len, bool p_clamp) {
|
||||
} else {
|
||||
break;
|
||||
}
|
||||
[[fallthrough]];
|
||||
FALLTHROUGH
|
||||
}
|
||||
case READING_INT: {
|
||||
if (is_digit(c)) {
|
||||
|
Loading…
Reference in New Issue
Block a user