1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-11-06 17:13:49 +01:00

Fix build

These changes needed to build on MSVC 2013.
This commit is contained in:
James Crook
2018-02-22 17:19:14 +00:00
parent e6d069787b
commit 2ece1acae9
7 changed files with 13 additions and 13 deletions

View File

@@ -28,8 +28,8 @@ struct Syllable {
Syllable() = default; Syllable() = default;
Syllable( const Syllable& ) = default; Syllable( const Syllable& ) = default;
Syllable& operator= ( const Syllable& ) = default; Syllable& operator= ( const Syllable& ) = default;
Syllable( Syllable && ) = default; Syllable( Syllable && ) {}
Syllable& operator= ( Syllable&& ) = default; Syllable& operator= ( Syllable&& ) { return *this;}
double t; double t;
wxString text; wxString text;

View File

@@ -74,7 +74,7 @@ class AUDACITY_DLL_API Tags final : public XMLTagHandler {
public: public:
Tags(); // constructor Tags(); // constructor
Tags( const Tags& ) = default; Tags( const Tags& ) = default;
Tags( Tags && ) = default; Tags( Tags && ) {}
virtual ~Tags(); virtual ~Tags();
std::shared_ptr<Tags> Duplicate() const; std::shared_ptr<Tags> Duplicate() const;

View File

@@ -63,8 +63,8 @@ public:
} }
LV2Port( const LV2Port & ) = default; LV2Port( const LV2Port & ) = default;
LV2Port& operator = ( const LV2Port & ) = default; LV2Port& operator = ( const LV2Port & ) = default;
LV2Port( LV2Port && ) = default; LV2Port( LV2Port && ) {}
LV2Port& operator = ( LV2Port && ) = default; LV2Port& operator = ( LV2Port && ) { return *this;}
uint32_t mIndex; uint32_t mIndex;
wxString mSymbol; wxString mSymbol;

View File

@@ -49,8 +49,8 @@ public:
NyqControl() = default; NyqControl() = default;
NyqControl( const NyqControl& ) = default; NyqControl( const NyqControl& ) = default;
NyqControl &operator = ( const NyqControl & ) = default; NyqControl &operator = ( const NyqControl & ) = default;
NyqControl( NyqControl && ) = default; NyqControl( NyqControl && ) {}
NyqControl &operator = ( NyqControl && ) = default; NyqControl &operator = ( NyqControl && ) { return *this;}
int type; int type;
wxString var; wxString var;

View File

@@ -41,8 +41,8 @@ class AUDACITY_DLL_API FormatInfo
FormatInfo() {} FormatInfo() {}
FormatInfo( const FormatInfo & ) = default; FormatInfo( const FormatInfo & ) = default;
FormatInfo &operator = ( const FormatInfo & ) = default; FormatInfo &operator = ( const FormatInfo & ) = default;
FormatInfo( FormatInfo && ) = default; FormatInfo( FormatInfo && ) {}
FormatInfo &operator = ( FormatInfo && ) = default; FormatInfo &operator = ( FormatInfo && ) { return *this;}
~FormatInfo() {} ~FormatInfo() {}
wxString mFormat; wxString mFormat;

View File

@@ -33,8 +33,8 @@ public:
} }
KeyNode( const KeyNode & ) = default; KeyNode( const KeyNode & ) = default;
KeyNode &operator = ( const KeyNode & ) = default; KeyNode &operator = ( const KeyNode & ) = default;
KeyNode( KeyNode && ) = default; KeyNode( KeyNode && ) {}
KeyNode &operator = ( KeyNode && ) = default; KeyNode &operator = ( KeyNode && ) { return *this;}
public: public:
wxString name; wxString name;

View File

@@ -239,8 +239,8 @@ public:
} }
NumericField( const NumericField & ) = default; NumericField( const NumericField & ) = default;
NumericField &operator = ( const NumericField & ) = default; NumericField &operator = ( const NumericField & ) = default;
NumericField( NumericField && ) = default; NumericField( NumericField && ) {}
NumericField &operator = ( NumericField && ) = default; NumericField &operator = ( NumericField && ) { return *this;}
void CreateDigitFormatStr() void CreateDigitFormatStr()
{ {
if (range > 1) if (range > 1)