Added :: before pow to resolve namespace ambiguity

This commit is contained in:
oparviai 2008-05-09 04:48:34 +00:00
parent da6bd9641c
commit 9a273df119

View File

@ -181,7 +181,7 @@ void FIRFilter::setCoefficients(const SAMPLETYPE *coeffs, uint newLength, uint u
assert(length == newLength); assert(length == newLength);
resultDivFactor = uResultDivFactor; resultDivFactor = uResultDivFactor;
resultDivider = (SAMPLETYPE)pow(2, resultDivFactor); resultDivider = (SAMPLETYPE)::pow(2, resultDivFactor);
delete[] filterCoeffs; delete[] filterCoeffs;
filterCoeffs = new SAMPLETYPE[length]; filterCoeffs = new SAMPLETYPE[length];