diff options
author | Max Kellermann <max@duempel.org> | 2013-10-19 16:39:45 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2013-10-19 16:39:45 +0200 |
commit | a4effeb3f9be39122e2a08e8179f6a9500189a81 (patch) | |
tree | 44b6cce28755d916bf8aaad9a0ecc019336a3175 /src/Permission.cxx | |
parent | d3f28a1d7f6ccd3274b648001a55d8a327657beb (diff) |
Permission: convert PERMISSION_PASSWORD_CHAR from macro to constexpr
Diffstat (limited to 'src/Permission.cxx')
-rw-r--r-- | src/Permission.cxx | 2 |
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" |