Ref T683, style

This commit is contained in:
Klaus Basan
2019-06-13 00:09:44 +02:00
committed by Mat Sutcliffe
parent 70a350ed66
commit daeea07090
14 changed files with 64 additions and 58 deletions

View File

@@ -284,7 +284,7 @@ namespace BlackCore
bool CContextOwnAircraft::updateOwnParts(const CAircraftParts &parts)
{
QWriteLocker l(&m_lockAircraft);
bool changed = (m_ownAircraft.getParts() != parts);
const bool changed = (m_ownAircraft.getParts() != parts);
if (!changed) { return false; }
m_ownAircraft.setParts(parts);
return true;