Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Development
OpenFOAM-plus
Commits
2221ab2b
Commit
2221ab2b
authored
May 26, 2017
by
Mark Olesen
Browse files
STYLE: remove redundant size check
parent
ca3f2951
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/OpenFOAM/meshes/Identifiers/patch/patchIdentifier.C
View file @
2221ab2b
...
...
@@ -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
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment