ClientInternal: convert anonymous enum to constexpr
This commit is contained in:
parent
116ebe0494
commit
56bc9e12ee
@ -24,10 +24,8 @@
|
||||
#include "Client.hxx"
|
||||
#include "command/CommandResult.hxx"
|
||||
|
||||
enum {
|
||||
CLIENT_MAX_SUBSCRIPTIONS = 16,
|
||||
CLIENT_MAX_MESSAGES = 64,
|
||||
};
|
||||
static constexpr unsigned CLIENT_MAX_SUBSCRIPTIONS = 16;
|
||||
static constexpr unsigned CLIENT_MAX_MESSAGES = 64;
|
||||
|
||||
extern const class Domain client_domain;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user