Skip to content

Commit 0d12bd1

Browse files
committed
Fix compilation
1 parent ebb88c7 commit 0d12bd1

File tree

1 file changed

+1
-10
lines changed

1 file changed

+1
-10
lines changed

modules/yup_dsp/filters/yup_FirResampler.h

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -223,16 +223,7 @@ class FirUpsampler
223223

224224
const CoeffType* coefficients;
225225
std::array<SampleType, BufferSize> buffer;
226-
int bufferIndex;
227-
228-
//==============================================================================
229-
static constexpr int nextPowerOfTwo (int value)
230-
{
231-
int result = 1;
232-
while (result < value)
233-
result <<= 1;
234-
return result;
235-
}
226+
int bufferIndex;
236227
};
237228

238229
//==============================================================================

0 commit comments

Comments
 (0)