Commit ae99135c authored by Max Kellermann's avatar Max Kellermann

Main: convert anonymous enum to constexpr

parent 1defb38a
...@@ -94,10 +94,8 @@ ...@@ -94,10 +94,8 @@
#include <ws2tcpip.h> #include <ws2tcpip.h>
#endif #endif
enum { static constexpr unsigned DEFAULT_BUFFER_SIZE = 2048;
DEFAULT_BUFFER_SIZE = 2048, static constexpr unsigned DEFAULT_BUFFER_BEFORE_PLAY = 10;
DEFAULT_BUFFER_BEFORE_PLAY = 10,
};
static constexpr Domain main_domain("main"); static constexpr Domain main_domain("main");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment