Ref T773, style and comments

This commit is contained in:
Klaus Basan
2020-01-31 18:29:16 +01:00
committed by Mat Sutcliffe
parent 9924eb4551
commit 812619470b
3 changed files with 9 additions and 3 deletions

View File

@@ -30,7 +30,7 @@ namespace BlackMisc
{
// we keep latest at front
// * we assume we find them faster
// * and need the more frequently (the recent ones)
// * and need them more frequently (the recent ones)
const qint64 now = QDateTime::currentMSecsSinceEpoch();
QWriteLocker l(&m_lockElvCoordinates);
if (m_elvCoordinates.size() > m_maxElevations) { m_elvCoordinates.pop_back(); }