Commit bab5f1a9 authored by Max Kellermann's avatar Max Kellermann

client: make GREETING constexpr

parent 6de8303d
...@@ -39,7 +39,7 @@ ...@@ -39,7 +39,7 @@
#include <tcpd.h> #include <tcpd.h>
#endif #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, Client::Client(EventLoop &_loop, Partition &_partition,
UniqueSocketDescriptor &&_fd, int _uid, int _num) UniqueSocketDescriptor &&_fd, int _uid, int _num)
......
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