Main: convert anonymous enum to constexpr
This commit is contained in:
parent
1defb38a6f
commit
ae99135c8d
@ -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");
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user