[Positioning] UserInterface: catch by reference

This commit is contained in:
Matteo Cypriani 2011-05-11 10:29:17 +02:00
parent fac5af8655
commit d285d2b4b7
1 changed files with 1 additions and 1 deletions

View File

@ -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 ;
}