1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-10-21 14:02:57 +02:00

Make objects attached to AudacityProject non-copyable...

... except for Tags; also some uses of final and explicit

This caught a mistake in Scrubbing.cpp
This commit is contained in:
Paul Licameli
2019-07-02 18:57:53 -04:00
parent 6adb2abc98
commit 2a06b10884
26 changed files with 61 additions and 4 deletions

View File

@@ -9,6 +9,8 @@
#ifndef __AUDACITY_OVERLAY__
#define __AUDACITY_OVERLAY__
#include "../Audacity.h"
#include <utility>
class OverlayPanel;
@@ -91,6 +93,9 @@ AdornedRulerPanel.
class Overlay
{
public:
Overlay() = default;
Overlay( const Overlay & ) PROHIBITED;
Overlay &operator=( const Overlay & ) PROHIBITED;
virtual ~Overlay() = 0;
///\brief This number determines an ordering of overlays, so that those