This website works better with JavaScript.
Home
Help
Sign In
DISTRHO
/
JUCE
mirror of
https://github.com/DISTRHO/JUCE
Watch
1
Star
0
Fork
0
Code
Releases
1
Activity
Browse Source
FFT: Add move ops which would otherwise be implicitly deleted
tags/2021-05-28
reuk
4 years ago
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
Unified View
Diff Options
Show Stats
Download Patch File
Download Diff File
+5
-1
modules/juce_dsp/frequency/juce_FFT.cpp
+6
-0
modules/juce_dsp/frequency/juce_FFT.h
+ 5
- 1
modules/juce_dsp/frequency/juce_FFT.cpp
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
void FFT::perform (const Complex<float>* input, Complex<float>* output, bool inverse) const noexcept
{
{
+ 6
- 0
modules/juce_dsp/frequency/juce_FFT.h
View File
@@ -50,6 +50,12 @@ public:
*/
*/
FFT (int order);
FFT (int order);
/** Move constructor. */
FFT (FFT&&) noexcept;
/** Move assignment operator. */
FFT& operator= (FFT&&) noexcept;
/** Destructor. */
/** Destructor. */
~FFT();
~FFT();
Write
Preview
Loading…
Cancel
Save