aboutsummaryrefslogtreecommitdiffstats
path: root/src/decoder
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2014-12-09 21:59:11 +0100
committerMax Kellermann <max@duempel.org>2014-12-09 21:59:11 +0100
commite813c93e085b4f18e94da5022d3f57ad2781d244 (patch)
tree950ecad7a6b017bac0d6a1d97f74ddc747af94aa /src/decoder
parent900c4977cc5e51fe541eb21847ebeaf9daa6d165 (diff)
downloadmpd-e813c93e085b4f18e94da5022d3f57ad2781d244.tar.gz
mpd-e813c93e085b4f18e94da5022d3f57ad2781d244.tar.xz
mpd-e813c93e085b4f18e94da5022d3f57ad2781d244.zip
decoder/mad: convert "const" to "constexpr"
Diffstat (limited to 'src/decoder')
-rw-r--r--src/decoder/plugins/MadDecoderPlugin.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/decoder/plugins/MadDecoderPlugin.cxx b/src/decoder/plugins/MadDecoderPlugin.cxx
index 62f31974f..669b57817 100644
--- a/src/decoder/plugins/MadDecoderPlugin.cxx
+++ b/src/decoder/plugins/MadDecoderPlugin.cxx
@@ -504,10 +504,10 @@ struct xing {
enum xing_magic magic; /* header magic */
};
-static const unsigned XING_FRAMES = 1;
-static const unsigned XING_BYTES = 2;
-static const unsigned XING_TOC = 4;
-static const unsigned XING_SCALE = 8;
+static constexpr unsigned XING_FRAMES = 1;
+static constexpr unsigned XING_BYTES = 2;
+static constexpr unsigned XING_TOC = 4;
+static constexpr unsigned XING_SCALE = 8;
struct lame_version {
unsigned major;