COMP: noThermo: compilation issue under clang

This commit is contained in:
mattijs 2013-07-02 09:31:32 +01:00
parent 0a702a8e6a
commit bb1eaa8a89

View File

@ -151,7 +151,7 @@ const solidThermo& noThermo::thermo() const
FatalErrorIn("const volScalarField& noThermo::T() const")
<< "T field not available for " << type()
<< abort(FatalError);
return reinterpret_cast<const solidThermo&>(null);
return *reinterpret_cast<const solidThermo*>(NULL);
}