summaryrefslogtreecommitdiffstats
path: root/src/lib/config/config_data.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/config/config_data.h')
-rw-r--r--src/lib/config/config_data.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/config/config_data.h b/src/lib/config/config_data.h
index 359a6e154d..a38c209d69 100644
--- a/src/lib/config/config_data.h
+++ b/src/lib/config/config_data.h
@@ -39,12 +39,12 @@ class ConfigData {
public:
/// Constructs a ConfigData option with no specification and an
/// empty configuration.
- ConfigData() { _config = Element::createFromString("{}"); };
+ ConfigData() { _config = Element::createMap(); };
/// Constructs a ConfigData option with the given specification
/// and an empty configuration.
/// \param module_spec A ModuleSpec for the relevant module
- ConfigData(const ModuleSpec& module_spec) : _module_spec(module_spec) { _config = Element::createFromString("{}"); }
+ ConfigData(const ModuleSpec& module_spec) : _module_spec(module_spec) { _config = Element::createMap(); }
virtual ~ConfigData() {};