mirror of
https://github.com/cookiengineer/audacity
synced 2025-11-23 17:30:17 +01: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:
@@ -22,6 +22,10 @@ class SelectionState final
|
||||
: public ClientData::Base
|
||||
{
|
||||
public:
|
||||
SelectionState() = default;
|
||||
SelectionState( const SelectionState & ) PROHIBITED;
|
||||
SelectionState &operator=( const SelectionState & ) PROHIBITED;
|
||||
|
||||
static SelectionState &Get( AudacityProject &project );
|
||||
static const SelectionState &Get( const AudacityProject &project );
|
||||
|
||||
|
||||
Reference in New Issue
Block a user