refactor(config): Cleanup and minor tweaks

This commit is contained in:
Michael Carlberg 2016-12-14 05:12:15 +01:00
parent 060d198b8e
commit 80a00bd596
8 changed files with 116 additions and 83 deletions
include/modules

View file

@ -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 { \