Skip to content

Commit

Permalink
Utilize JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR
Browse files Browse the repository at this point in the history
  • Loading branch information
jurihock committed Dec 30, 2023
1 parent 9b98702 commit ce8b32c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/StftPitchShiftPlugin/Effect.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
#pragma once

#include <JuceHeader.h>

#include <StftPitchShiftPlugin/FFT.h>

#include <StftPitchShift/STFT.h>
Expand Down Expand Up @@ -40,4 +42,6 @@ class Effect
std::unique_ptr<stftpitchshift::STFT<double>> stft;
std::unique_ptr<stftpitchshift::StftPitchShiftCore<double>> core;

JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR(Effect)

};
2 changes: 2 additions & 0 deletions src/StftPitchShiftPlugin/Parameters.h
Original file line number Diff line number Diff line change
Expand Up @@ -53,4 +53,6 @@ class Parameters final : public GenericParameterContainer
return static_cast<int>(y);
}

JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR(Parameters)

};

0 comments on commit ce8b32c

Please sign in to comment.