From af3e7a09d5f599bf6f29e9cd552bb9ac1b6990bd Mon Sep 17 00:00:00 2001 From: Paul Licameli Date: Wed, 22 May 2019 09:53:08 -0400 Subject: [PATCH] Compilability of old Noise Removal --- src/effects/NoiseRemoval.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/effects/NoiseRemoval.h b/src/effects/NoiseRemoval.h index 47c0595b8..9ff197940 100644 --- a/src/effects/NoiseRemoval.h +++ b/src/effects/NoiseRemoval.h @@ -97,7 +97,7 @@ private: void FinishTrack(); // Variables that only exist during processing - std::unique_ptr mOutputTrack; + std::shared_ptr mOutputTrack; sampleCount mInSampleCount; sampleCount mOutSampleCount; int mInputPos; @@ -141,7 +141,7 @@ public: wxSizer *MakeNoiseRemovalDialog(bool call_fit = true, bool set_sizer = true); - void PopulateOrExchange(ShuttleGui & S); + void PopulateOrExchange(ShuttleGui & S) override; bool TransferDataToWindow() override; bool TransferDataFromWindow() override; @@ -149,7 +149,7 @@ private: // handlers void OnGetProfile( wxCommandEvent &event ); void OnKeepNoise( wxCommandEvent &event ); - void OnPreview(wxCommandEvent &event); + void OnPreview(wxCommandEvent &event) override; void OnRemoveNoise( wxCommandEvent &event ); void OnCancel( wxCommandEvent &event );