aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/ClientInternal.hxx6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/ClientInternal.hxx b/src/ClientInternal.hxx
index 9c70ec2e2..c64310093 100644
--- a/src/ClientInternal.hxx
+++ b/src/ClientInternal.hxx
@@ -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;