mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-05 09:15:34 +08:00
Fixed typo, style
This commit is contained in:
committed by
Mat Sutcliffe
parent
f95df7455b
commit
16e19ad6d3
@@ -130,13 +130,13 @@ namespace BlackMisc
|
||||
CAltitude switchedUnit(const PhysicalQuantities::CLengthUnit &newUnit) const;
|
||||
|
||||
//! AGL Above ground level?
|
||||
bool isAboveGroundLevel() const { return AboveGround == this->m_datum; }
|
||||
bool isAboveGroundLevel() const { return AboveGround == m_datum; }
|
||||
|
||||
//! MSL Mean sea level?
|
||||
bool isMeanSeaLevel() const { return MeanSeaLevel == this->m_datum; }
|
||||
bool isMeanSeaLevel() const { return MeanSeaLevel == m_datum; }
|
||||
|
||||
//! Flight level?
|
||||
bool isFlightLevel() const { return FlightLevel == this->m_datum; }
|
||||
bool isFlightLevel() const { return FlightLevel == m_datum; }
|
||||
|
||||
//! Get reference datum (MSL or AGL)
|
||||
ReferenceDatum getReferenceDatum() const { return m_datum; }
|
||||
|
||||
@@ -134,7 +134,7 @@ namespace BlackMisc
|
||||
{
|
||||
static const CLogCategoryList cats(CLogCategoryList(this).withValidation());
|
||||
CStatusMessageList msgs;
|
||||
if (!hasValidDbKey()) { msgs.push_back(CStatusMessage(cats, CStatusMessage::SeverityError, u"Distributor: missing id")); }
|
||||
if (!hasValidDbKey()) { msgs.push_back(CStatusMessage(cats, CStatusMessage::SeverityError, u"Distributor: missing id")); }
|
||||
if (!hasDescription()) { msgs.push_back(CStatusMessage(cats, CStatusMessage::SeverityError, u"Distributor: missing description")); }
|
||||
return msgs;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user