From 7782c3ad3858dd63301081c72e8b75e2879c7cb6 Mon Sep 17 00:00:00 2001 From: Tres Finocchiaro Date: Tue, 1 Apr 2014 14:12:40 -0700 Subject: [PATCH] Clang comp. fix, out.real()+= syntax error --- plugins/zynaddsubfx/src/Effects/Alienwah.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/zynaddsubfx/src/Effects/Alienwah.cpp b/plugins/zynaddsubfx/src/Effects/Alienwah.cpp index 9d13ea8c1..4cfecbdcc 100644 --- a/plugins/zynaddsubfx/src/Effects/Alienwah.cpp +++ b/plugins/zynaddsubfx/src/Effects/Alienwah.cpp @@ -67,7 +67,7 @@ void Alienwah::out(const Stereo &smp) tmp = clfol * x + oldclfol * x1; out = tmp * oldl[oldk]; - out.real() += (1 - fabs(fb)) * smp.l[i] * (1.0 - panning); + out += (1 - fabs(fb)) * smp.l[i] * (1.0 - panning); oldl[oldk] = out; REALTYPE l = out.real() * 10.0 * (fb + 0.1); @@ -76,7 +76,7 @@ void Alienwah::out(const Stereo &smp) tmp = clfor * x + oldclfor * x1; out = tmp * oldr[oldk]; - out.real() += (1 - fabs(fb)) * smp.r[i] * (1.0 - panning); + out += (1 - fabs(fb)) * smp.r[i] * (1.0 - panning); oldr[oldk] = out; REALTYPE r = out.real() * 10.0 * (fb + 0.1);