diff --git a/include/FluidSCWrapper.hpp b/include/FluidSCWrapper.hpp index 5dc96d9..cf5cc42 100644 --- a/include/FluidSCWrapper.hpp +++ b/include/FluidSCWrapper.hpp @@ -17,7 +17,7 @@ template struct SetterDispatchImpl; template struct GetterDispatchImpl; } // namespace impl -template +template class FluidSCWrapper : public SCUnit { public: FluidSCWrapper() { @@ -65,7 +65,7 @@ public: } void setParams(float **inputs) { - setParams(inputs, std::index_sequence_for()); + setParams(inputs, ParamIndexList()); } private: @@ -120,11 +120,10 @@ struct SetterDispatchImpl { } // namespace impl -template -void makeSCWrapper(InterfaceTable *ft, const char *className, - const std::tuple ¶ms) { - registerUnit>(ft, - className); +template +void makeSCWrapper(InterfaceTable *ft, const char *className, Client::ParamType ¶ms) +{ + registerUnit(ft, className); } } // namespace client