From 51150faa398b63ef47f4eafe6c800fc08c95719f Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Wed, 24 Dec 2014 09:52:32 +0100 Subject: output/jack: convert enum to constexpr --- src/output/plugins/JackOutputPlugin.cxx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/output') diff --git a/src/output/plugins/JackOutputPlugin.cxx b/src/output/plugins/JackOutputPlugin.cxx index 777db11bf..69fade13e 100644 --- a/src/output/plugins/JackOutputPlugin.cxx +++ b/src/output/plugins/JackOutputPlugin.cxx @@ -36,9 +36,7 @@ #include #include -enum { - MAX_PORTS = 16, -}; +static constexpr unsigned MAX_PORTS = 16; static const size_t jack_sample_size = sizeof(jack_default_audio_sample_t); -- cgit v1.2.3