Skip to content
Snippets Groups Projects
Commit bb1eaa8a authored by mattijs's avatar mattijs
Browse files

COMP: noThermo: compilation issue under clang

parent 0a702a8e
No related merge requests found
...@@ -151,7 +151,7 @@ const solidThermo& noThermo::thermo() const ...@@ -151,7 +151,7 @@ const solidThermo& noThermo::thermo() const
FatalErrorIn("const volScalarField& noThermo::T() const") FatalErrorIn("const volScalarField& noThermo::T() const")
<< "T field not available for " << type() << "T field not available for " << type()
<< abort(FatalError); << abort(FatalError);
return reinterpret_cast<const solidThermo&>(null); return *reinterpret_cast<const solidThermo*>(NULL);
} }
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment