mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-21 04:45:31 +08:00
refs #345 Style and doxygen.
This commit is contained in:
@@ -26,7 +26,6 @@ namespace BlackMisc
|
||||
*/
|
||||
int CAirportIcao::compareImpl(const CValueObject &otherBase) const
|
||||
{
|
||||
// intentionally compare on string only!
|
||||
const auto &other = static_cast<const CAirportIcao &>(otherBase);
|
||||
return this->m_icaoCode.compare(other.m_icaoCode, Qt::CaseInsensitive);
|
||||
}
|
||||
@@ -97,7 +96,6 @@ namespace BlackMisc
|
||||
bool CAirportIcao::operator ==(const CAirportIcao &other) const
|
||||
{
|
||||
if (this == &other) return true;
|
||||
// intentionally not via Tupel converter, compare on string only
|
||||
return this->asString().compare(other.asString(), Qt::CaseInsensitive) == 0;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user