mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-29 21:30:53 +00:00
Drop const as well since some compilers warn that it's redundant
This commit is contained in:
@@ -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) \
|
||||
|
||||
Reference in New Issue
Block a user