Uh, ok. Not sure why 'template' was there to start with. Fair cop MSVC

nix
weefuzzy 7 years ago
parent 2fd321b13f
commit 58c1ea682a

@ -129,7 +129,7 @@ public:
{
mControlsIterator.reset(mInBuf + 1); //mClient.audioChannelsIn());
Wrapper::setParams(mParams, mWorld->mVerbosity > 0, mWorld, mControlsIterator); // forward on inputs N + audio inputs as params
mParams.template constrainParameterValues();
mParams.constrainParameterValues();
const Unit *unit = this;
for (size_t i = 0; i < mClient.audioChannelsIn(); ++i)
{
@ -218,7 +218,7 @@ private:
static Result validateParameters(NonRealTime *w)
{
auto results = w->mParams.template constrainParameterValues();
auto results = w->mParams.constrainParameterValues();
for (auto &r : results)
{
if (!r.ok()) return r;
@ -397,7 +397,7 @@ public:
if(inputs.size() == C::getParameterDescriptors().count())
{
p.template setParameterValues<ControlSetter>(verbose, world, inputs);
if (constrain)p.template constrainParameterValues();
if (constrain)p.constrainParameterValues();
}
return p;
}

Loading…
Cancel
Save