COMP: incorrect constructor used in explicitSource

This commit is contained in:
Mark Olesen
2010-12-17 16:50:14 +01:00
parent e09a227a48
commit f883a3f136

View File

@ -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
{ {
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])
); );