BUG: Corrected TimeDataEntry copy constructor - mantis #762

This commit is contained in:
andy
2013-03-04 18:10:06 +00:00
parent 180a8f4609
commit a001b1cc34

View File

@ -62,7 +62,7 @@ Foam::TimeDataEntry<Type>::TimeDataEntry
name_(tde.name_), name_(tde.name_),
entry_() entry_()
{ {
if (entry_.valid()) if (tde.entry_.valid())
{ {
entry_.reset(tde.entry_->clone().ptr()); entry_.reset(tde.entry_->clone().ptr());
} }