Drop const as well since some compilers warn that it's redundant

This commit is contained in:
baldurk
2020-05-20 12:27:24 +01:00
parent 262e1f2627
commit 8f2d7f91f2
+1 -1
View File
@@ -66,7 +66,7 @@ CONFIG_SUPPORT_TYPE(rdcarray<rdcstr>);
#define RDOC_DEBUG_CONFIG(type, name, defaultValue, description) \
static ConfigVarRegistration<type> CONCAT(config, __LINE__)( \
STRING_LITERAL(STRINGIZE(name)), defaultValue, true, STRING_LITERAL(description)); \
static const type name() { return defaultValue; }
static type name() { return defaultValue; }
#else
#define RDOC_DEBUG_CONFIG(type, name, defaultValue, description) \