Fix: update m_lastAcceptedInfo every time when a point is accepted

This commit is contained in:
Constantin Shalnev 2016-01-12 16:46:49 +03:00
parent 0c0a3f9b60
commit a64029d7a6

View file

@ -69,6 +69,7 @@ void GpsTrackFilter::Process(vector<location::GpsInfo> const & inPoints,
else if (IsGoodPoint(currInfo))
{
outPoints.emplace_back(currInfo);
m_lastAcceptedInfo = currInfo;
}
m_lastInfo = currInfo;