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:
parent
6cc67f5ac5
commit
29c4ef36ee
2 changed files with 11 additions and 1 deletions
|
|
@ -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
|
||||
{
|
||||
|
|
|
|||
|
|
@ -50,6 +50,12 @@ public:
|
|||
*/
|
||||
FFT (int order);
|
||||
|
||||
/** Move constructor. */
|
||||
FFT (FFT&&) noexcept;
|
||||
|
||||
/** Move assignment operator. */
|
||||
FFT& operator= (FFT&&) noexcept;
|
||||
|
||||
/** Destructor. */
|
||||
~FFT();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue