diff --git a/include/FluidSCWrapper.hpp b/include/FluidSCWrapper.hpp index 8c99a9b..cc6c8eb 100644 --- a/include/FluidSCWrapper.hpp +++ b/include/FluidSCWrapper.hpp @@ -1354,11 +1354,11 @@ class FluidSCWrapper : public impl::FluidSCWrapperBase auto& report = std::cout; report << "ERROR: " << msg->name << " type signature incorrect.\nExpect: ("; size_t i{0}; - ForEach(args, [&i,&expectedArgCount,&report](auto& x){ - report << ParamReader::argTypeToString(x); - if(i < ( expectedArgCount - 1 ) ) + ForEach(args, [&i](auto& x){ + std::cout << ParamReader::argTypeToString(x); + if(i < (std::tuple_size::value - 1 ) ) { - report << " ,"; + std::cout << " ,"; } i++; });