COMP: corrected code removed in 51c2329f97
This commit is contained in:
parent
bcc1a49937
commit
636d2688a5
@ -67,8 +67,13 @@ Foam::TimeFunction1<Type>::TimeFunction1
|
||||
:
|
||||
time_(rhs.time_),
|
||||
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 * * * * * * * * * * * * * //
|
||||
|
Loading…
Reference in New Issue
Block a user