diff options
-rw-r--r-- | src/Main.cxx | 6 |
1 files changed, 2 insertions, 4 deletions
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 <ws2tcpip.h> #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"); |