mirror of
https://github.com/cookiengineer/audacity
synced 2025-12-22 00:21:18 +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:
@@ -60,7 +60,9 @@ public:
|
||||
ChangedSyncLock,
|
||||
};
|
||||
|
||||
ProjectSettings( AudacityProject &project );
|
||||
explicit ProjectSettings( AudacityProject &project );
|
||||
ProjectSettings( const ProjectSettings & ) PROHIBITED;
|
||||
ProjectSettings &operator=( const ProjectSettings & ) PROHIBITED;
|
||||
|
||||
sampleFormat GetDefaultFormat() const { return mDefaultFormat; }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user