From e160e7592c2624fc68663e455d70b0ce64789c9e Mon Sep 17 00:00:00 2001 From: Jean Pierre Cimalando Date: Sat, 20 Jun 2020 15:29:28 +0200 Subject: [PATCH] Remove the duplicate definition --- src/sfizz/SfzHelpers.h | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/sfizz/SfzHelpers.h b/src/sfizz/SfzHelpers.h index 191812e4..31ea49c8 100644 --- a/src/sfizz/SfzHelpers.h +++ b/src/sfizz/SfzHelpers.h @@ -202,12 +202,6 @@ inline CXX14_CONSTEXPR Type vaGain(Type cutoff, Type sampleRate) return std::tan(cutoff / sampleRate * pi()); } -template -inline CXX14_CONSTEXPR Type vaGain(Type cutoff, Type sampleRate) -{ - return std::tan(cutoff / sampleRate * pi()); -} - /** * @brief From a source view, find the next sfz header and its members and * return them, while updating the source by removing this header