diff --git a/src/sfizz/AudioSpan.h b/src/sfizz/AudioSpan.h index f1bd0f91..e11e2ebb 100644 --- a/src/sfizz/AudioSpan.h +++ b/src/sfizz/AudioSpan.h @@ -148,7 +148,7 @@ public: * @tparam Alignment the alignment block size for the platform * @param audioBuffer the source AudioBuffer. */ - template , typename = std::enable_if_t::value, int>> + template ::type, typename = typename std::enable_if::value, int>::type> AudioSpan(AudioBuffer& audioBuffer) : numFrames(audioBuffer.getNumFrames()) , numChannels(audioBuffer.getNumChannels())