mirror of
https://github.com/gnss-sdr/gnss-sdr
synced 2025-08-29 17:07:58 +00:00
Make the fix C++14 compatible
This commit is contained in:
@@ -104,7 +104,7 @@ void An_Packet_Printer::update_sdr_gnss_packet(sdr_gnss_packet_t* _packet, const
|
|||||||
uint8_t num_gal_sats = 0;
|
uint8_t num_gal_sats = 0;
|
||||||
std::size_t index = 0;
|
std::size_t index = 0;
|
||||||
bool fix_3d = pvt->is_valid_position();
|
bool fix_3d = pvt->is_valid_position();
|
||||||
const auto max_reported_sats = std::size(_packet->sats);
|
const auto max_reported_sats = sizeof(_packet->sats) / sizeof(_packet->sats[0]);
|
||||||
|
|
||||||
for (gnss_observables_iter = gnss_observables_map.cbegin();
|
for (gnss_observables_iter = gnss_observables_map.cbegin();
|
||||||
gnss_observables_iter != gnss_observables_map.cend();
|
gnss_observables_iter != gnss_observables_map.cend();
|
||||||
|
Reference in New Issue
Block a user