summaryrefslogtreecommitdiff
path: root/src/client/ClientNew.cxx
diff options
context:
space:
mode:
authorMax Kellermann <max@musicpd.org>2017-08-11 09:22:26 +0200
committerMax Kellermann <max@musicpd.org>2017-08-11 09:22:26 +0200
commitbab5f1a93f9f24043ab071e8060cc5e3094b0760 (patch)
tree4d813a84bd4df914c9126a264ccf2415aba57afe /src/client/ClientNew.cxx
parent6de8303df81d096e94a2ddc2abf6ce729ccfd7c9 (diff)
client: make GREETING constexpr
Diffstat (limited to 'src/client/ClientNew.cxx')
-rw-r--r--src/client/ClientNew.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/ClientNew.cxx b/src/client/ClientNew.cxx
index 1dd430a0d..016d5f7cb 100644
--- a/src/client/ClientNew.cxx
+++ b/src/client/ClientNew.cxx
@@ -39,7 +39,7 @@
#include <tcpd.h>
#endif
-static const char GREETING[] = "OK MPD " PROTOCOL_VERSION "\n";
+static constexpr char GREETING[] = "OK MPD " PROTOCOL_VERSION "\n";
Client::Client(EventLoop &_loop, Partition &_partition,
UniqueSocketDescriptor &&_fd, int _uid, int _num)