Commit 56bc9e12 authored by Max Kellermann's avatar Max Kellermann

ClientInternal: convert anonymous enum to constexpr

parent 116ebe04
......@@ -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;
......
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