ConfigFile: convert macros to constexpr

This commit is contained in:
Max Kellermann 2015-01-21 22:12:16 +01:00
parent f900ab0121
commit fdba76ba47
1 changed files with 2 additions and 2 deletions

View File

@ -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");