From cefb1c419dd5d74237b343ed8afb1855e30caba9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B8rgen=20Lien=20Sell=C3=A6g?= Date: Mon, 26 Oct 2015 21:00:54 +0100 Subject: [PATCH] Clear the propterty tree after assigning to singleton configuration --- src/config.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/src/config.cc b/src/config.cc index 84ac03a..c05e382 100644 --- a/src/config.cc +++ b/src/config.cc @@ -31,6 +31,7 @@ MainConfig::MainConfig() { retrieve_config(); JERROR("Error reading "+ config_json + ": "+e.what()+"\n"); // logs will print to cerr when init_log haven't been run yet } + cfg.clear(); } void MainConfig::find_or_create_config_files() {