From c25010291e56d64ce18068006d207947e178b94e Mon Sep 17 00:00:00 2001
From: Chris Cantwell <c.cantwell@imperial.ac.uk>
Date: Wed, 29 Jul 2015 10:00:37 +0100
Subject: [PATCH] Fix Loki initialisation in Extrapolate for threading.

---
 solvers/IncNavierStokesSolver/EquationSystems/Extrapolate.cpp | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/solvers/IncNavierStokesSolver/EquationSystems/Extrapolate.cpp b/solvers/IncNavierStokesSolver/EquationSystems/Extrapolate.cpp
index 4af9df7c16..53ca93ab77 100644
--- a/solvers/IncNavierStokesSolver/EquationSystems/Extrapolate.cpp
+++ b/solvers/IncNavierStokesSolver/EquationSystems/Extrapolate.cpp
@@ -49,7 +49,8 @@ namespace Nektar
     {
         typedef Loki::SingletonHolder<ExtrapolateFactory,
                                       Loki::CreateUsingNew,
-                                      Loki::NoDestroy > Type;
+                                      Loki::NoDestroy,
+                                      Loki::SingleThreaded > Type;
         return Type::Instance();
     }
 
-- 
GitLab