Catch exception by reference to avoid compiler warning.

master
Pedro Alvarez 6 years ago committed by Andre Puschmann
parent 5e5e797cb9
commit d4d7691fab

@ -122,7 +122,7 @@ int parser::section::parse(Setting &root)
if (enabled_value) {
*enabled_value = true;
}
} catch(const SettingNotFoundException ex) {
} catch (const SettingNotFoundException& ex) {
if (enabled_value) {
*enabled_value = false;
return 0;

Loading…
Cancel
Save