COMP: noThermo: compilation issue under clang
This commit is contained in:
parent
0a702a8e6a
commit
bb1eaa8a89
@ -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);
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user