Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Development
openfoam
Commits
c1589e00
Commit
c1589e00
authored
Oct 08, 2010
by
mattijs
Browse files
STYLE: dlLibraryTable.C : do find&insert in one
parent
4f93b8ab
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/OpenFOAM/db/dlLibraryTable/dlLibraryTable.C
View file @
c1589e00
...
...
@@ -82,9 +82,8 @@ bool Foam::dlLibraryTable::open(const fileName& functionLibName)
}
else
{
if
(
!
loadedLibraries
.
found
(
functionLibPtr
))
if
(
loadedLibraries
.
insert
(
functionLibPtr
,
functionLibName
))
{
loadedLibraries
.
insert
(
functionLibPtr
,
functionLibName
);
return
true
;
}
else
...
...
Write
Preview
Supports
Markdown
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