diff --git a/src/Lyrics.h b/src/Lyrics.h index 95f8b8b73..1b68b30a6 100644 --- a/src/Lyrics.h +++ b/src/Lyrics.h @@ -28,8 +28,8 @@ struct Syllable { Syllable() = default; Syllable( const Syllable& ) = default; Syllable& operator= ( const Syllable& ) = default; - Syllable( Syllable && ) {} - Syllable& operator= ( Syllable&& ) { return *this;} + //Syllable( Syllable && ) = default; + //Syllable& operator= ( Syllable&& ) = default; double t; wxString text; diff --git a/src/Tags.h b/src/Tags.h index 5919f841f..4a62c1fac 100644 --- a/src/Tags.h +++ b/src/Tags.h @@ -74,7 +74,7 @@ class AUDACITY_DLL_API Tags final : public XMLTagHandler { public: Tags(); // constructor Tags( const Tags& ) = default; - Tags( Tags && ) {} + //Tags( Tags && ) = default; virtual ~Tags(); std::shared_ptr Duplicate() const; diff --git a/src/effects/lv2/LV2Effect.h b/src/effects/lv2/LV2Effect.h index 1bd1c4eae..b5fb486fe 100644 --- a/src/effects/lv2/LV2Effect.h +++ b/src/effects/lv2/LV2Effect.h @@ -63,8 +63,8 @@ public: } LV2Port( const LV2Port & ) = default; LV2Port& operator = ( const LV2Port & ) = default; - LV2Port( LV2Port && ) {} - LV2Port& operator = ( LV2Port && ) { return *this;} + //LV2Port( LV2Port && ) = default; + //LV2Port& operator = ( LV2Port && ) = default; uint32_t mIndex; wxString mSymbol; diff --git a/src/effects/nyquist/Nyquist.h b/src/effects/nyquist/Nyquist.h index b4a9e4999..944baae01 100644 --- a/src/effects/nyquist/Nyquist.h +++ b/src/effects/nyquist/Nyquist.h @@ -49,8 +49,8 @@ public: NyqControl() = default; NyqControl( const NyqControl& ) = default; NyqControl &operator = ( const NyqControl & ) = default; - NyqControl( NyqControl && ) {} - NyqControl &operator = ( NyqControl && ) { return *this;} + //NyqControl( NyqControl && ) = default; + //NyqControl &operator = ( NyqControl && ) = default; int type; wxString var; diff --git a/src/export/Export.h b/src/export/Export.h index 5298c1182..75babd9c4 100644 --- a/src/export/Export.h +++ b/src/export/Export.h @@ -41,8 +41,8 @@ class AUDACITY_DLL_API FormatInfo FormatInfo() {} FormatInfo( const FormatInfo & ) = default; FormatInfo &operator = ( const FormatInfo & ) = default; - FormatInfo( FormatInfo && ) {} - FormatInfo &operator = ( FormatInfo && ) { return *this;} + //FormatInfo( FormatInfo && ) = default; + //FormatInfo &operator = ( FormatInfo && ) = default; ~FormatInfo() {} wxString mFormat; diff --git a/src/widgets/KeyView.h b/src/widgets/KeyView.h index 3f5721f84..70d92c795 100644 --- a/src/widgets/KeyView.h +++ b/src/widgets/KeyView.h @@ -33,8 +33,8 @@ public: } KeyNode( const KeyNode & ) = default; KeyNode &operator = ( const KeyNode & ) = default; - KeyNode( KeyNode && ) {} - KeyNode &operator = ( KeyNode && ) { return *this;} + //KeyNode( KeyNode && ) = default; + //KeyNode &operator = ( KeyNode && ) = default; public: wxString name; diff --git a/src/widgets/NumericTextCtrl.cpp b/src/widgets/NumericTextCtrl.cpp index b7134508d..085caa441 100644 --- a/src/widgets/NumericTextCtrl.cpp +++ b/src/widgets/NumericTextCtrl.cpp @@ -239,8 +239,8 @@ public: } NumericField( const NumericField & ) = default; NumericField &operator = ( const NumericField & ) = default; - NumericField( NumericField && ) {} - NumericField &operator = ( NumericField && ) { return *this;} + //NumericField( NumericField && ) = default; + //NumericField &operator = ( NumericField && ) = default; void CreateDigitFormatStr() { if (range > 1)