From 1cd5abe48986a16612eb8ffe82b9c9e6aefa8091 Mon Sep 17 00:00:00 2001 From: reuk Date: Fri, 2 Jul 2021 16:44:33 +0100 Subject: [PATCH] AudioBlock: Remove unnecessary casts --- modules/juce_dsp/containers/juce_AudioBlock.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/juce_dsp/containers/juce_AudioBlock.h b/modules/juce_dsp/containers/juce_AudioBlock.h index 6d6169b9cd..b3a005fd5b 100644 --- a/modules/juce_dsp/containers/juce_AudioBlock.h +++ b/modules/juce_dsp/containers/juce_AudioBlock.h @@ -548,9 +548,9 @@ public: const AudioBlock& operator*= (AudioBlock src) const noexcept { return multiplyBy (src); } template - AudioBlock& operator*= (SmoothedValue& value) noexcept { return multiplyBy ((NumericType) value); } + AudioBlock& operator*= (SmoothedValue& value) noexcept { return multiplyBy (value); } template - const AudioBlock& operator*= (SmoothedValue& value) const noexcept { return multiplyBy ((NumericType) value); } + const AudioBlock& operator*= (SmoothedValue& value) const noexcept { return multiplyBy (value); } //============================================================================== // This class can only be used with floating point types