mirror of
https://github.com/gnss-sdr/gnss-sdr
synced 2025-10-30 14:53:03 +00:00
Fix const correctness when catching exceptions
See https://stackoverflow.com/questions/7581654/about-catching-exception-good-practices Unneeded includes unistd.h removed Close dump files in destructor
This commit is contained in:
@@ -167,7 +167,7 @@ bool Nmea_Printer::Print_Nmea_Line(const std::shared_ptr<Pvt_Solution>& pvt_data
|
||||
//GPGSV
|
||||
nmea_file_descriptor << GPGSV;
|
||||
}
|
||||
catch(std::exception ex)
|
||||
catch(const std::exception & ex)
|
||||
{
|
||||
DLOG(INFO) << "NMEA printer can not write on output file" << nmea_filename.c_str();;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user