Skip to content

Fix const correctness for loadConfig class members

Matthias Wittgen requested to merge fix_const_correctness into devel

Const correctness is an important C++ feature to spot problems at compile time like the incorrect use of json::empty() accidentally modifying the json object. This MR fixes loadConfig for now by changing the function signature to loadConfig(const json&).

Merge request reports