refactor(config): Cleanup and minor tweaks
This commit is contained in:
parent
060d198b8e
commit
80a00bd596
8 changed files with 116 additions and 83 deletions
include/modules
|
@ -24,7 +24,7 @@ namespace modules {
|
|||
#define DEFINE_UNSUPPORTED_MODULE(MODULE_NAME, MODULE_TYPE) \
|
||||
class MODULE_NAME : public module_interface { \
|
||||
public: \
|
||||
MODULE_NAME(const bar_settings, const logger&, const config&, string) { \
|
||||
MODULE_NAME(const bar_settings, string) { \
|
||||
throw application_error("No built-in support for '" + string{MODULE_TYPE} + "'"); \
|
||||
} \
|
||||
string name() const { \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue