mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-01 21:56:43 +08:00
Ref T683, style
This commit is contained in:
committed by
Mat Sutcliffe
parent
70a350ed66
commit
daeea07090
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user