TagPool: convert macro to constexpr
This commit is contained in:
parent
3ca0a39a35
commit
adad4279f3
@ -29,7 +29,7 @@
|
|||||||
|
|
||||||
Mutex tag_pool_lock;
|
Mutex tag_pool_lock;
|
||||||
|
|
||||||
#define NUM_SLOTS 4096
|
static constexpr size_t NUM_SLOTS = 4096;
|
||||||
|
|
||||||
struct TagPoolSlot {
|
struct TagPoolSlot {
|
||||||
TagPoolSlot *next;
|
TagPoolSlot *next;
|
||||||
|
Loading…
Reference in New Issue
Block a user