ClientInternal: convert anonymous enum to constexpr

This commit is contained in:
Max Kellermann 2013-10-20 13:45:47 +02:00
parent 116ebe0494
commit 56bc9e12ee

View File

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