mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-24 07:55:35 +08:00
refactor: Fix readability-use-std-min-max
This commit is contained in:
@@ -1040,7 +1040,7 @@ namespace swift::core
|
||||
|
||||
if (!this->isUpdateAllRemoteAircraft(startTime)) { this->resetUpdateAllRemoteAircraft(); }
|
||||
|
||||
if (m_statsMaxUpdateTimeMs < dt) { m_statsMaxUpdateTimeMs = dt; }
|
||||
m_statsMaxUpdateTimeMs = std::max(m_statsMaxUpdateTimeMs, dt);
|
||||
if (m_statsLastUpdateAircraftRequestedMs > 0)
|
||||
{
|
||||
m_statsUpdateAircraftRequestedDeltaMs = startTime - m_statsLastUpdateAircraftRequestedMs;
|
||||
|
||||
Reference in New Issue
Block a user