From bb1eaa8a892fa532093e9623cabec8cf94ad6275 Mon Sep 17 00:00:00 2001 From: mattijs Date: Tue, 2 Jul 2013 09:31:32 +0100 Subject: [PATCH] COMP: noThermo: compilation issue under clang --- src/regionModels/thermalBaffleModels/noThermo/noThermo.C | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/regionModels/thermalBaffleModels/noThermo/noThermo.C b/src/regionModels/thermalBaffleModels/noThermo/noThermo.C index e0511f226a..e5205db4a6 100644 --- a/src/regionModels/thermalBaffleModels/noThermo/noThermo.C +++ b/src/regionModels/thermalBaffleModels/noThermo/noThermo.C @@ -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(null); + return *reinterpret_cast(NULL); }