Commit bbd8b154 authored by Mark Olesen's avatar Mark Olesen Committed by Andrew Heather
Browse files

BUG: incorrect return type for T() method. Regression from 3019f30b

parent 773ec00d
......@@ -620,7 +620,7 @@ VSForm Foam::Field<Type>::block(const label start) const
template<class Type>
Foam::tmp<Foam::Field<Type>> Foam::Field<Type>::T() const
auto tres = tmp<Field<cmptType>>::New(this->size());
auto tres = tmp<Field<Type>>::New(this->size());
::Foam::T(tres.ref(), *this);
return tres;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment