mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-05 01:05:34 +08:00
refs #937 Resolved clazy warnings: miscellaneous.
This commit is contained in:
@@ -107,9 +107,14 @@ namespace BlackMisc
|
||||
this->setEntity(static_cast<CEntityFlags::Entity>(variant.toInt()));
|
||||
break;
|
||||
default:
|
||||
return (IDatastoreObjectWithIntegerKey::canHandleIndex(index)) ?
|
||||
IDatastoreObjectWithIntegerKey::setPropertyByIndex(index, variant) :
|
||||
CValueObject::setPropertyByIndex(index, variant);
|
||||
if (IDatastoreObjectWithIntegerKey::canHandleIndex(index))
|
||||
{
|
||||
IDatastoreObjectWithIntegerKey::setPropertyByIndex(index, variant);
|
||||
}
|
||||
else
|
||||
{
|
||||
CValueObject::setPropertyByIndex(index, variant);
|
||||
}
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user