mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-09 05:28:09 +08:00
Fix clang-tidy and clazy warnings
This commit is contained in:
@@ -330,12 +330,12 @@ namespace BlackCore
|
||||
|
||||
bool CDatabaseReader::hasDbInfoObjects() const
|
||||
{
|
||||
return getDbInfoObjects().size() > 0;
|
||||
return !getDbInfoObjects().isEmpty();
|
||||
}
|
||||
|
||||
bool CDatabaseReader::hasSharedInfoObjects() const
|
||||
{
|
||||
return getSharedInfoObjects().size() > 0;
|
||||
return !getSharedInfoObjects().isEmpty();
|
||||
}
|
||||
|
||||
bool CDatabaseReader::hasSharedFileHeader(const CEntityFlags::Entity entity) const
|
||||
|
||||
Reference in New Issue
Block a user