diff options
author | Max Kellermann <max@duempel.org> | 2014-06-16 19:18:10 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2014-06-16 19:18:10 +0200 |
commit | adad4279f3fc93609617f984cf17640b74840e72 (patch) | |
tree | 66d50516fb5316feaf6011b8899cd733273f5cc9 /src | |
parent | 3ca0a39a357d9be9c85de4892ac02716f8af2ae8 (diff) | |
download | mpd-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.cxx | 2 |
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; |