diff --git a/src/Main.cxx b/src/Main.cxx index 2280abfa9..ba1c83f6e 100644 --- a/src/Main.cxx +++ b/src/Main.cxx @@ -94,10 +94,8 @@ #include #endif -enum { - DEFAULT_BUFFER_SIZE = 2048, - DEFAULT_BUFFER_BEFORE_PLAY = 10, -}; +static constexpr unsigned DEFAULT_BUFFER_SIZE = 2048; +static constexpr unsigned DEFAULT_BUFFER_BEFORE_PLAY = 10; static constexpr Domain main_domain("main");