Main: convert anonymous enum to constexpr

This commit is contained in:
Max Kellermann 2013-10-20 13:46:32 +02:00
parent 1defb38a6f
commit ae99135c8d

View File

@ -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");