aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2013-10-19 16:39:45 +0200
committerMax Kellermann <max@duempel.org>2013-10-19 16:39:45 +0200
commita4effeb3f9be39122e2a08e8179f6a9500189a81 (patch)
tree44b6cce28755d916bf8aaad9a0ecc019336a3175
parentd3f28a1d7f6ccd3274b648001a55d8a327657beb (diff)
downloadmpd-a4effeb3f9be39122e2a08e8179f6a9500189a81.tar.gz
mpd-a4effeb3f9be39122e2a08e8179f6a9500189a81.tar.xz
mpd-a4effeb3f9be39122e2a08e8179f6a9500189a81.zip
Permission: convert PERMISSION_PASSWORD_CHAR from macro to constexpr
-rw-r--r--src/Permission.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Permission.cxx b/src/Permission.cxx
index dafa4e00c..daf24e184 100644
--- a/src/Permission.cxx
+++ b/src/Permission.cxx
@@ -31,7 +31,7 @@
#include <string.h>
-#define PERMISSION_PASSWORD_CHAR '@'
+static constexpr char PERMISSION_PASSWORD_CHAR = '@';
#define PERMISSION_SEPERATOR ","
#define PERMISSION_READ_STRING "read"