Permission: convert PERMISSION_PASSWORD_CHAR from macro to constexpr
This commit is contained in:
parent
d3f28a1d7f
commit
a4effeb3f9
@ -31,7 +31,7 @@
|
|||||||
|
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
#define PERMISSION_PASSWORD_CHAR '@'
|
static constexpr char PERMISSION_PASSWORD_CHAR = '@';
|
||||||
#define PERMISSION_SEPERATOR ","
|
#define PERMISSION_SEPERATOR ","
|
||||||
|
|
||||||
#define PERMISSION_READ_STRING "read"
|
#define PERMISSION_READ_STRING "read"
|
||||||
|
Loading…
Reference in New Issue
Block a user