From b7f0da52d5c03fa3dd1780d9efb93c0f5b16eb9f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Dennis=20Gl=C3=A4ser?= <dennis.glaeser@iws.uni-stuttgart.de>
Date: Mon, 9 Jul 2018 21:48:58 +0200
Subject: [PATCH] [privarswitch] make noprivarswitch compatible

---
 .../compositional/primaryvariableswitch.hh       | 16 +++++++++-------
 1 file changed, 9 insertions(+), 7 deletions(-)

diff --git a/dumux/porousmediumflow/compositional/primaryvariableswitch.hh b/dumux/porousmediumflow/compositional/primaryvariableswitch.hh
index 86de1f1cc9..793fc5d198 100644
--- a/dumux/porousmediumflow/compositional/primaryvariableswitch.hh
+++ b/dumux/porousmediumflow/compositional/primaryvariableswitch.hh
@@ -38,13 +38,15 @@ namespace Dumux {
 class NoPrimaryVariableSwitch
 {
 public:
-    NoPrimaryVariableSwitch(...) {}
-    void init(...) {}
-    bool wasSwitched(...) const { return false; }
-    bool update(...) { return false; }
-    void updateSwitchedVolVars(...) {}
-    void updateSwitchedFluxVarsCache(...) {}
-    bool update_(...) {return false; }
+    template<typename... Args>
+    NoPrimaryVariableSwitch(Args&&...) {}
+
+    template<typename... Args> void init(Args&&...) {}
+    template<typename... Args> bool wasSwitched(Args&&...) const { return false; }
+    template<typename... Args> bool update(Args&&...) { return false; }
+    template<typename... Args> void updateSwitchedVolVars(Args&&...) {}
+    template<typename... Args> void updateSwitchedFluxVarsCache(Args&&...) {}
+    template<typename... Args> bool update_(Args&&...) {return false; }
 };
 
 /*!
-- 
GitLab