aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2014-06-16 19:18:10 +0200
committerMax Kellermann <max@duempel.org>2014-06-16 19:18:10 +0200
commitadad4279f3fc93609617f984cf17640b74840e72 (patch)
tree66d50516fb5316feaf6011b8899cd733273f5cc9 /src
parent3ca0a39a357d9be9c85de4892ac02716f8af2ae8 (diff)
downloadmpd-adad4279f3fc93609617f984cf17640b74840e72.tar.gz
mpd-adad4279f3fc93609617f984cf17640b74840e72.tar.xz
mpd-adad4279f3fc93609617f984cf17640b74840e72.zip
TagPool: convert macro to constexpr
Diffstat (limited to 'src')
-rw-r--r--src/tag/TagPool.cxx2
1 files changed, 1 insertions, 1 deletions
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;