1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2024-10-31 23:26:22 +00:00

Make clang-tidy happy

This commit is contained in:
Carles Fernandez 2023-09-20 09:08:55 +02:00
parent 5f5e861822
commit 6bf7b8c51f
No known key found for this signature in database
GPG Key ID: 4C583C52B0C3877D

View File

@ -1686,10 +1686,10 @@ bool Rtklib_Solver::get_PVT(const std::map<int, Gnss_Synchro> &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));