Skip to content
Snippets Groups Projects
Commit 897713dd authored by Mark OLESEN's avatar Mark OLESEN
Browse files

BUG: missing return value for PtrDynList::set

parent 706d7137
No related branches found
No related tags found
No related merge requests found
......@@ -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());
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment