diff options
author | Max Kellermann <max@duempel.org> | 2013-10-20 13:45:47 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2013-10-20 13:45:47 +0200 |
commit | 56bc9e12ee16e3cbf20753c7fab0188a34e7d9ee (patch) | |
tree | e44537cf51f69693a560f6b19b105d54abfd3d69 /src/ClientInternal.hxx | |
parent | 116ebe0494bf53aa8885dcdbbb0f970e2591169d (diff) | |
download | mpd-56bc9e12ee16e3cbf20753c7fab0188a34e7d9ee.tar.gz mpd-56bc9e12ee16e3cbf20753c7fab0188a34e7d9ee.tar.xz mpd-56bc9e12ee16e3cbf20753c7fab0188a34e7d9ee.zip |
ClientInternal: convert anonymous enum to constexpr
Diffstat (limited to 'src/ClientInternal.hxx')
-rw-r--r-- | src/ClientInternal.hxx | 6 |
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; |