refs #345 Style and doxygen.

This commit is contained in:
Mathew Sutcliffe
2014-10-28 19:46:52 +00:00
parent 8f5315b846
commit 798b198d4e
78 changed files with 268 additions and 531 deletions

View File

@@ -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;
}