[tracks] Safe GpsTrackCollection requests during recording.

Signed-off-by: Viktor Govako <viktor.govako@gmail.com>
This commit is contained in:
Viktor Govako
2025-07-30 15:27:29 -03:00
committed by Konstantin Pastbin
parent fb62982000
commit b7b87f5530
4 changed files with 13 additions and 8 deletions

View File

@@ -68,12 +68,12 @@ bool GpsTracker::IsEmpty() const
return m_track.IsEmpty();
}
TrackStatistics GpsTracker::GetTrackStatistics() const
TrackStatistics GpsTracker::GetTrackStatistics()
{
return m_track.GetTrackStatistics();
}
ElevationInfo const & GpsTracker::GetElevationInfo() const
ElevationInfo const & GpsTracker::GetElevationInfo()
{
return m_track.GetElevationInfo();
}