mirror of
https://github.com/cookiengineer/audacity
synced 2025-12-15 17:11:20 +01:00
Fixes bug #1344 (mac build)
In addition, the Xcode project can now build against the 10.6 or 10.7 SDKs. All that is needed is to change the SDK version and the other settings will change automatically.
This commit is contained in:
@@ -11,6 +11,7 @@
|
||||
#ifndef __AUDACITY_ABOUT_DLG__
|
||||
#define __AUDACITY_ABOUT_DLG__
|
||||
|
||||
#include "MemoryX.h"
|
||||
#include <vector>
|
||||
#include <wx/dialog.h>
|
||||
#include <wx/sizer.h>
|
||||
@@ -27,9 +28,14 @@ struct AboutDialogCreditItem {
|
||||
: description(description_), role(role_)
|
||||
{}
|
||||
|
||||
// No copy
|
||||
#ifdef __AUDACITY_OLD_STD__
|
||||
AboutDialogCreditItem(const AboutDialogCreditItem&) = default;
|
||||
AboutDialogCreditItem& operator= (const AboutDialogCreditItem&) = default;
|
||||
#else
|
||||
// No copy, use the move
|
||||
AboutDialogCreditItem(const AboutDialogCreditItem&) PROHIBITED;
|
||||
AboutDialogCreditItem& operator= (const AboutDialogCreditItem&) PROHIBITED;
|
||||
#endif
|
||||
|
||||
// Move constructor, because wxString lacks one
|
||||
AboutDialogCreditItem(AboutDialogCreditItem &&moveMe)
|
||||
|
||||
Reference in New Issue
Block a user