diff --git a/dumux/porousmediumflow/compositional/primaryvariableswitch.hh b/dumux/porousmediumflow/compositional/primaryvariableswitch.hh index 86de1f1cc91220f9c852d6707f093b0d88a0c11e..793fc5d19890c2e926ce26367f00c85d0fed3d61 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; } }; /*!