1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-10 23:44:24 +00:00

FFT: Add move ops which would otherwise be implicitly deleted

This commit is contained in:
reuk 2021-01-28 22:41:43 +00:00
parent 6cc67f5ac5
commit 29c4ef36ee
No known key found for this signature in database
GPG key ID: 9ADCD339CFC98A11
2 changed files with 11 additions and 1 deletions

View file

@ -950,7 +950,11 @@ FFT::FFT (int order)
{
}
FFT::~FFT() {}
FFT::FFT (FFT&&) noexcept = default;
FFT& FFT::operator= (FFT&&) noexcept = default;
FFT::~FFT() = default;
void FFT::perform (const Complex<float>* input, Complex<float>* output, bool inverse) const noexcept
{

View file

@ -50,6 +50,12 @@ public:
*/
FFT (int order);
/** Move constructor. */
FFT (FFT&&) noexcept;
/** Move assignment operator. */
FFT& operator= (FFT&&) noexcept;
/** Destructor. */
~FFT();