mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
STYLE: remove redundant size check
This commit is contained in:
@ -82,7 +82,7 @@ Foam::patchIdentifier::~patchIdentifier()
|
||||
|
||||
bool Foam::patchIdentifier::inGroup(const word& name) const
|
||||
{
|
||||
return inGroups_.size() && findIndex(inGroups_, name) != -1;
|
||||
return findIndex(inGroups_, name) != -1;
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user