diff --git a/src/algorithms/PVT/libs/rtklib_solver.cc b/src/algorithms/PVT/libs/rtklib_solver.cc index 443564819..a3a7b8ac6 100644 --- a/src/algorithms/PVT/libs/rtklib_solver.cc +++ b/src/algorithms/PVT/libs/rtklib_solver.cc @@ -1686,10 +1686,10 @@ bool Rtklib_Solver::get_PVT(const std::map &gnss_observables_ // User clock drift [ppm] d_monitor_pvt.user_clk_drift_ppm = clock_drift_ppm; - //write UTC time string + // write UTC time string // Use a facet to display time in a custom format (only hour and minutes). - boost::posix_time::time_facet *facet = new boost::posix_time::time_facet(); + auto *facet = new boost::posix_time::time_facet(); facet->format("%Y-%m-%dT%H:%M:%S%F"); std::stringstream stream; stream.imbue(std::locale(std::locale::classic(), facet));