From 17e108a10a79a5cfb44981323442c92e35813e98 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Thu, 26 Sep 2013 21:49:26 +0200 Subject: MusicChunk: use constexpr for CHUNK_SIZE --- src/MusicChunk.hxx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/MusicChunk.hxx b/src/MusicChunk.hxx index 23c3b7423..87821fe1c 100644 --- a/src/MusicChunk.hxx +++ b/src/MusicChunk.hxx @@ -29,9 +29,7 @@ #include #include -enum { - CHUNK_SIZE = 4096, -}; +static constexpr size_t CHUNK_SIZE = 4096; struct AudioFormat; struct Tag; -- cgit v1.2.3