mirror of https://github.com/PentHertz/srsLTE.git
Catch exception by reference to avoid compiler warning.
This commit is contained in:
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…
Reference in New Issue