[Positioner] Fix two catches (catch by reference)
This commit is contained in:
parent
f7194dce71
commit
5ddcdeed2f
|
@ -72,7 +72,7 @@ void AutocalibrationLine::generate_ss()
|
|||
{
|
||||
trx_rp = &Stock::get_reference_point(trx_cp->get_coordinates()) ;
|
||||
}
|
||||
catch (element_not_found e)
|
||||
catch (element_not_found &e)
|
||||
{
|
||||
ostringstream oss ;
|
||||
oss << "No measurements from transmitter CP "
|
||||
|
|
|
@ -72,7 +72,7 @@ void TopologyReaderCSV::process_area_line()
|
|||
{
|
||||
building.add_area(area) ;
|
||||
}
|
||||
catch (element_already_exists e)
|
||||
catch (element_already_exists &e)
|
||||
{
|
||||
delete area ;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue