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:
@@ -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
|
||||
|
Reference in New Issue
Block a user