From a4effeb3f9be39122e2a08e8179f6a9500189a81 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Sat, 19 Oct 2013 16:39:45 +0200 Subject: [PATCH] Permission: convert PERMISSION_PASSWORD_CHAR from macro to constexpr --- src/Permission.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -#define PERMISSION_PASSWORD_CHAR '@' +static constexpr char PERMISSION_PASSWORD_CHAR = '@'; #define PERMISSION_SEPERATOR "," #define PERMISSION_READ_STRING "read"