Browse Source

Clear the propterty tree after assigning to singleton configuration

merge-requests/365/head
Jørgen Lien Sellæg 10 years ago
parent
commit
cefb1c419d
  1. 1
      src/config.cc

1
src/config.cc

@ -31,6 +31,7 @@ MainConfig::MainConfig() {
retrieve_config(); retrieve_config();
JERROR("Error reading "+ config_json + ": "+e.what()+"\n"); // logs will print to cerr when init_log haven't been run yet 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() { void MainConfig::find_or_create_config_files() {

Loading…
Cancel
Save