client: make GREETING constexpr

This commit is contained in:
Max Kellermann 2017-08-11 09:22:26 +02:00
parent 6de8303df8
commit bab5f1a93f
1 changed files with 1 additions and 1 deletions

View File

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