STYLE: remove redundant size check

This commit is contained in:
Mark Olesen
2017-05-26 08:15:49 +02:00
parent 15d5fca144
commit 8d3e106166

View File

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