From eb6aeb0304176de26033549fd3f9b430a8a5e483 Mon Sep 17 00:00:00 2001 From: Owen Green Date: Tue, 23 Jun 2020 18:07:41 +0100 Subject: [PATCH] Also capture report --- include/FluidSCWrapper.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/FluidSCWrapper.hpp b/include/FluidSCWrapper.hpp index 2f6c719..6d16c28 100644 --- a/include/FluidSCWrapper.hpp +++ b/include/FluidSCWrapper.hpp @@ -1294,7 +1294,7 @@ 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](auto& x){ + ForEach(args, [&i,&expectedArgCount,&report](auto& x){ report << ParamReader::argTypeToString(x); if(i < ( expectedArgCount - 1 ) ) {