mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
COMP: incorrect constructor used in explicitSource
This commit is contained in:
@ -63,7 +63,7 @@ namespace Foam
|
||||
{
|
||||
|
||||
/*---------------------------------------------------------------------------*\
|
||||
Class explicitSource Declaration
|
||||
Class explicitSource Declaration
|
||||
\*---------------------------------------------------------------------------*/
|
||||
|
||||
class explicitSource
|
||||
@ -86,7 +86,7 @@ class explicitSource
|
||||
fieldList()
|
||||
:
|
||||
HashTable<Type>(0),
|
||||
OwnerPtr_()
|
||||
OwnerPtr_(*reinterpret_cast<explicitSource*>(0))
|
||||
{}
|
||||
|
||||
|
||||
@ -107,7 +107,7 @@ class explicitSource
|
||||
{
|
||||
geometricField& field = const_cast<geometricField&>
|
||||
(
|
||||
OwnerPtr_.mesh().lookupObject<geometricField>
|
||||
OwnerPtr_.mesh().template lookupObject<geometricField>
|
||||
(this->toc()[i])
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user