From 91495d29d406e7a5b3dd14ae3948a3eb798dcc22 Mon Sep 17 00:00:00 2001 From: Paul Fd Date: Tue, 10 Mar 2020 14:19:11 +0100 Subject: [PATCH] Use verbose type_trait --- src/sfizz/AudioSpan.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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())