1
0
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:
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

@@ -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; }