From adad4279f3fc93609617f984cf17640b74840e72 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Mon, 16 Jun 2014 19:18:10 +0200 Subject: TagPool: convert macro to constexpr --- src/tag/TagPool.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/tag') diff --git a/src/tag/TagPool.cxx b/src/tag/TagPool.cxx index 2108a98c3..f7e12dd87 100644 --- a/src/tag/TagPool.cxx +++ b/src/tag/TagPool.cxx @@ -29,7 +29,7 @@ Mutex tag_pool_lock; -#define NUM_SLOTS 4096 +static constexpr size_t NUM_SLOTS = 4096; struct TagPoolSlot { TagPoolSlot *next; -- cgit v1.2.3