From bb1eaa8a892fa532093e9623cabec8cf94ad6275 Mon Sep 17 00:00:00 2001
From: mattijs <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 e0511f226ac..e5205db4a6f 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<const solidThermo&>(null);
+    return *reinterpret_cast<const solidThermo*>(NULL);
 }
 
 
-- 
GitLab