Skip to content
Snippets Groups Projects
Commit 0d838888 authored by Kilian Weishaupt's avatar Kilian Weishaupt
Browse files

[material][1pAdapter] Perfect forward arguments to MultiPhaseFluidSystem::init(...)

parent 20f1cf15
No related branches found
No related tags found
1 merge request!1115Fix/1p adapter
...@@ -99,8 +99,9 @@ public: ...@@ -99,8 +99,9 @@ public:
/*! /*!
* \brief Initialize the fluid system's static parameters generically * \brief Initialize the fluid system's static parameters generically
*/ */
static void init() template<class ...Args>
{ MultiPhaseFluidSystem::init(); } static void init(Args&&... args)
{ MultiPhaseFluidSystem::init(std::forward<Args>(args)...); }
/**************************************** /****************************************
* Fluid phase related static parameters * Fluid phase related static parameters
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment