mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
BUG: incorrect return type for T() method. Regression from 3019f30b12
This commit is contained in:
committed by
Andrew Heather
parent
773ec00d4b
commit
bbd8b15437
@ -1,2 +1,2 @@
|
|||||||
api=1901
|
api=1902
|
||||||
patch=0
|
patch=0
|
||||||
|
|||||||
@ -620,7 +620,7 @@ VSForm Foam::Field<Type>::block(const label start) const
|
|||||||
template<class Type>
|
template<class Type>
|
||||||
Foam::tmp<Foam::Field<Type>> Foam::Field<Type>::T() const
|
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);
|
::Foam::T(tres.ref(), *this);
|
||||||
return tres;
|
return tres;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user