TagPool: convert macro to constexpr

This commit is contained in:
Max Kellermann 2014-06-16 19:18:10 +02:00
parent 3ca0a39a35
commit adad4279f3

View File

@ -29,7 +29,7 @@
Mutex tag_pool_lock;
#define NUM_SLOTS 4096
static constexpr size_t NUM_SLOTS = 4096;
struct TagPoolSlot {
TagPoolSlot *next;