From 5f14c163479b1830d7a4984862db43682cb7cf58 Mon Sep 17 00:00:00 2001 From: Owen Green Date: Tue, 19 Feb 2019 17:36:46 +0000 Subject: [PATCH] Initialise a thing that needs a size to have a size, rather than no size (ControlsIterator, that is) include/FluidSCWrapper.hpp --- include/FluidSCWrapper.hpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/include/FluidSCWrapper.hpp b/include/FluidSCWrapper.hpp index b7ef1f5..83e9a20 100644 --- a/include/FluidSCWrapper.hpp +++ b/include/FluidSCWrapper.hpp @@ -124,7 +124,9 @@ template class RealTime : public SCUnit public: static void setup(InterfaceTable *ft, const char *name) { registerUnit(ft, name); } - RealTime():mControlsIterator{nullptr,0} {} + RealTime(): mControlsIterator{mInBuf + mSpecialIndex + 1,mNumInputs - mSpecialIndex - 1} + {} + //mControlsIterator{nullptr,0} {} void init() {