mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-08 03:35:35 +08:00
Style
This commit is contained in:
committed by
Mat Sutcliffe
parent
a520145a6a
commit
7beed0225c
@@ -111,11 +111,11 @@ namespace BlackMisc
|
||||
|
||||
int CEcosystem::comparePropertyByIndex(const CPropertyIndex &index, const CEcosystem &compareValue) const
|
||||
{
|
||||
if (index.isMyself()) { return Compare::compare(this->m_system, compareValue.m_system); }
|
||||
if (index.isMyself()) { return Compare::compare(m_system, compareValue.m_system); }
|
||||
const ColumnIndex i = index.frontCasted<ColumnIndex>();
|
||||
switch (i)
|
||||
{
|
||||
case IndexSystem: return Compare::compare(this->m_system, compareValue.m_system);
|
||||
case IndexSystem: return Compare::compare(m_system, compareValue.m_system);
|
||||
default: break;
|
||||
}
|
||||
BLACK_VERIFY_X(false, Q_FUNC_INFO, qUtf8Printable("No comparison for index " + index.toQString()));
|
||||
|
||||
Reference in New Issue
Block a user