1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2025-01-15 03:35:46 +00:00

Apply coding style

This commit is contained in:
Carles Fernandez 2017-07-25 16:51:44 +02:00
parent 8258a343af
commit 095e049558

View File

@ -299,29 +299,29 @@ void gps_l1_ca_dll_pll_c_aid_tracking_fpga_sc::start_tracking()
gps_l1_ca_dll_pll_c_aid_tracking_fpga_sc::~gps_l1_ca_dll_pll_c_aid_tracking_fpga_sc() gps_l1_ca_dll_pll_c_aid_tracking_fpga_sc::~gps_l1_ca_dll_pll_c_aid_tracking_fpga_sc()
{ {
if (d_dump_file.is_open()) if (d_dump_file.is_open())
{ {
try try
{ {
d_dump_file.close(); d_dump_file.close();
} }
catch(const std::exception & ex) catch(const std::exception & ex)
{ {
LOG(WARNING)<< "Exception in destructor " << ex.what(); LOG(WARNING)<< "Exception in destructor " << ex.what();
} }
} }
try try
{ {
volk_gnsssdr_free(d_local_code_shift_chips); volk_gnsssdr_free(d_local_code_shift_chips);
volk_gnsssdr_free(d_ca_code); volk_gnsssdr_free(d_ca_code);
volk_gnsssdr_free(d_ca_code_16sc); volk_gnsssdr_free(d_ca_code_16sc);
volk_gnsssdr_free(d_correlator_outs_16sc); volk_gnsssdr_free(d_correlator_outs_16sc);
delete[] d_Prompt_buffer; delete[] d_Prompt_buffer;
multicorrelator_fpga_8sc->free(); multicorrelator_fpga_8sc->free();
} }
catch(const std::exception & ex) catch(const std::exception & ex)
{ {
LOG(WARNING) << "Exception in destructor " << ex.what(); LOG(WARNING) << "Exception in destructor " << ex.what();
} }
} }