[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

@@ -17,8 +17,8 @@ public:
bool IsEmpty() const;
TrackStatistics GetTrackStatistics() const;
ElevationInfo const & GetElevationInfo() const;
TrackStatistics GetTrackStatistics();
ElevationInfo const & GetElevationInfo();
using TGpsTrackDiffCallback =
std::function<void(std::vector<std::pair<size_t, location::GpsInfo>> && toAdd,