modules: Fix resolving of type of disabled modules
This commit is contained in:
parent
002112df64
commit
8acedeef87
3 changed files with 12 additions and 1 deletions
include/modules
|
@ -14,6 +14,7 @@ namespace modules {
|
|||
MODULE_NAME(const bar_settings, string) { \
|
||||
throw application_error("No built-in support for '" + string{MODULE_TYPE} + "'"); \
|
||||
} \
|
||||
static constexpr auto TYPE = MODULE_TYPE; \
|
||||
string type() const { \
|
||||
return ""; \
|
||||
} \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue