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
Commits
51bac480
Commit
51bac480
authored
Jan 23, 2019
by
Mark Olesen
Browse files
BUG: missing return value for PtrDynList::set
parent
efb4c6e7
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/OpenFOAM/containers/PtrLists/PtrDynList/PtrDynListI.H
View file @
51bac480
...
...
@@ -272,7 +272,7 @@ inline Foam::autoPtr<T> Foam::PtrDynList<T, SizeMin>::set
const
autoPtr
<
T
>&
aptr
)
{
this
->
set
(
i
,
const_cast
<
autoPtr
<
T
>&>
(
aptr
).
release
());
return
this
->
set
(
i
,
const_cast
<
autoPtr
<
T
>&>
(
aptr
).
release
());
}
...
...
@@ -283,7 +283,7 @@ inline Foam::autoPtr<T> Foam::PtrDynList<T, SizeMin>::set
const
tmp
<
T
>&
tptr
)
{
this
->
set
(
i
,
tptr
.
ptr
());
return
this
->
set
(
i
,
tptr
.
ptr
());
}
...
...
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