aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/config/ConfigFile.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/config/ConfigFile.cxx b/src/config/ConfigFile.cxx
index 75a782bfe..258482db9 100644
--- a/src/config/ConfigFile.cxx
+++ b/src/config/ConfigFile.cxx
@@ -34,9 +34,9 @@
#include <assert.h>
#include <stdio.h>
-#define MAX_STRING_SIZE MPD_PATH_MAX+80
+static constexpr size_t MAX_STRING_SIZE = MPD_PATH_MAX + 80;
-#define CONF_COMMENT '#'
+static constexpr char CONF_COMMENT = '#';
static constexpr Domain config_file_domain("config_file");