Skip to content
Snippets Groups Projects
Commit f883a3f1 authored by Mark Olesen's avatar Mark Olesen
Browse files

COMP: incorrect constructor used in explicitSource

parent e09a227a
Branches
Tags
No related merge requests found
...@@ -63,7 +63,7 @@ namespace Foam ...@@ -63,7 +63,7 @@ namespace Foam
{ {
/*---------------------------------------------------------------------------*\ /*---------------------------------------------------------------------------*\
Class explicitSource Declaration Class explicitSource Declaration
\*---------------------------------------------------------------------------*/ \*---------------------------------------------------------------------------*/
class explicitSource class explicitSource
...@@ -86,7 +86,7 @@ class explicitSource ...@@ -86,7 +86,7 @@ class explicitSource
fieldList() fieldList()
: :
HashTable<Type>(0), HashTable<Type>(0),
OwnerPtr_() OwnerPtr_(*reinterpret_cast<explicitSource*>(0))
{} {}
...@@ -107,7 +107,7 @@ class explicitSource ...@@ -107,7 +107,7 @@ class explicitSource
{ {
geometricField& field = const_cast<geometricField&> geometricField& field = const_cast<geometricField&>
( (
OwnerPtr_.mesh().lookupObject<geometricField> OwnerPtr_.mesh().template lookupObject<geometricField>
(this->toc()[i]) (this->toc()[i])
); );
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment