Browse Source

Linux: Fixed a compiler warning

tags/2021-05-28
hogliux Tom Poole 6 years ago
parent
commit
b561b34e8c
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      modules/juce_dsp/containers/juce_AudioBlock.h

+ 2
- 2
modules/juce_dsp/containers/juce_AudioBlock.h View File

@@ -181,8 +181,8 @@ public:
template <typename OtherSampleType, MayUseConvertingConstructor<OtherSampleType> = 0>
AudioBlock& operator= (const AudioBlock<OtherSampleType>& other) noexcept
{
AudioBlock copy { other };
swap (copy);
AudioBlock blockCopy { other };
swap (blockCopy);
return *this;
}


Loading…
Cancel
Save