mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-06 10:15:38 +08:00
refs #146, Minor changes and cleanup tasks
* CCallsign::getCallsignPronounced -> getTelephonyDesignator * CAircraft , comments renamed to 1 line style //! * CAtcStation, comments renamed to 1 line style //! and added method hasValidFrequency() * CAvioTransponder changed formatting * CUser, comments renamed to 1 line style //! * CCallsign, m_callsignPronounced -> m_telephonyDesignator , comments renamed to 1 line style //!
This commit is contained in:
@@ -29,7 +29,8 @@ namespace BlackMisc
|
||||
bool valid = this->validValues();
|
||||
if (!strict) return valid;
|
||||
Q_ASSERT_X(valid, "CTransponder::validate", "illegal values");
|
||||
if (!valid) throw std::range_error("Illegal values in CTransponder::validate");
|
||||
if (!valid)
|
||||
throw std::range_error("Illegal values in CTransponder::validate");
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user