mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-29 20:55:42 +08:00
refs #345 Style and doxygen.
This commit is contained in:
@@ -84,7 +84,6 @@ namespace BlackMisc
|
||||
*/
|
||||
int CCallsign::compareImpl(const CValueObject &otherBase) const
|
||||
{
|
||||
// intentionally compare on string only!
|
||||
const auto &other = static_cast<const CCallsign &>(otherBase);
|
||||
return this->m_callsign.compare(other.m_callsign, Qt::CaseInsensitive);
|
||||
}
|
||||
@@ -182,7 +181,6 @@ namespace BlackMisc
|
||||
bool CCallsign::operator ==(const CCallsign &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