1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-09-16 16:20:50 +02: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( const Syllable& ) = default;
Syllable& operator= ( const Syllable& ) = default;
Syllable( Syllable && ) = default;
Syllable& operator= ( Syllable&& ) = default;
Syllable( Syllable && ) {}
Syllable& operator= ( Syllable&& ) { return *this;}
double t;
wxString text;

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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