mirror of
https://github.com/cookiengineer/audacity
synced 2025-12-15 09:01:12 +01:00
More changes to Audacity.h to hide new and delete from code sweeps...
... changed some comments, and hid = delete in a macro. That is a new C++11 feature that lets you stipulate that a class suppresses an otherwise inherited or generated name.
This commit is contained in:
@@ -28,8 +28,8 @@ struct AboutDialogCreditItem {
|
||||
{}
|
||||
|
||||
// No copy
|
||||
AboutDialogCreditItem(const AboutDialogCreditItem&) = delete;
|
||||
AboutDialogCreditItem& operator= (const AboutDialogCreditItem&) = delete;
|
||||
AboutDialogCreditItem(const AboutDialogCreditItem&) PROHIBITED;
|
||||
AboutDialogCreditItem& operator= (const AboutDialogCreditItem&) PROHIBITED;
|
||||
|
||||
// Move constructor, because wxString lacks one
|
||||
AboutDialogCreditItem(AboutDialogCreditItem &&moveMe)
|
||||
|
||||
Reference in New Issue
Block a user