mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-01-30 03:32:55 +00:00
Fix debug build
Seems to be a compiler bug
This commit is contained in:
parent
839fe786a2
commit
5ac631e03b
@ -30,7 +30,7 @@ namespace id_manager
|
||||
static const u32 base = T::id_base;
|
||||
static const u32 step = T::id_step;
|
||||
static const u32 count = T::id_count;
|
||||
static const u32 invalid = base > 0 ? 0 : -1;
|
||||
static const u32 invalid = -+!base;
|
||||
|
||||
// Note: full 32 bits range cannot be used at current implementation
|
||||
static_assert(count > 0 && step > 0 && u64{step} * count + base < u64{UINT32_MAX} + (base != 0 ? 1 : 0), "ID traits: invalid object range");
|
||||
|
Loading…
x
Reference in New Issue
Block a user