mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
COMP: corrected code removed in 51c2329f97
This commit is contained in:
@ -67,8 +67,13 @@ Foam::TimeFunction1<Type>::TimeFunction1
|
|||||||
:
|
:
|
||||||
time_(rhs.time_),
|
time_(rhs.time_),
|
||||||
name_(rhs.name_),
|
name_(rhs.name_),
|
||||||
entry_(rhs.entry_) // steal/reuse (missing clone!)
|
entry_(nullptr) // steal/reuse (missing clone!)
|
||||||
{}
|
{
|
||||||
|
if (rhs.entry_)
|
||||||
|
{
|
||||||
|
entry_.reset(rhs.entry_->clone().ptr());
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
// * * * * * * * * * * * * * * * Member Functions * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * Member Functions * * * * * * * * * * * * * //
|
||||||
|
|||||||
Reference in New Issue
Block a user