fix: add name_raw to unsupported modules

This commit is contained in:
patrick96 2019-10-23 00:33:20 +02:00 committed by Patrick Ziegler
parent a287fb5e8c
commit 457e37faaf

View File

@ -17,6 +17,9 @@ namespace modules {
MODULE_NAME(const bar_settings, string) { \ MODULE_NAME(const bar_settings, string) { \
throw application_error("No built-in support for '" + string{MODULE_TYPE} + "'"); \ throw application_error("No built-in support for '" + string{MODULE_TYPE} + "'"); \
} \ } \
string name_raw() const { \
return ""; \
} \
string name() const { \ string name() const { \
return ""; \ return ""; \
} \ } \