From 6bf7b8c51f98393eddf3433c28fb961c89853a0b Mon Sep 17 00:00:00 2001 From: Carles Fernandez Date: Wed, 20 Sep 2023 09:08:55 +0200 Subject: [PATCH] Make clang-tidy happy --- src/algorithms/PVT/libs/rtklib_solver.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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));