[Positioning] UserInterface: catch by reference
This commit is contained in:
parent
fac5af8655
commit
d285d2b4b7
|
@ -39,7 +39,7 @@ UserInterface::UserInterface(const int argc, char **argv)
|
|||
cli_options = new po::options_description("General options") ;
|
||||
file_options = new po::options_description("Parameters") ;
|
||||
}
|
||||
catch (bad_alloc e)
|
||||
catch (bad_alloc &e)
|
||||
{
|
||||
throw ;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue