1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-10-19 09:01:15 +02:00

Fix windows build...

Defaulted move constructors and assignments introduced at 080dd34 are not
essential but might give a bit more efficiency in std::vector on non-Windows.

Previous compilation fix was incorrect!  Excpliticly defined move assignments
should not have had no-effect bodies!
This commit is contained in:
Paul Licameli
2018-02-22 12:26:20 -05:00
parent e3f2a3e3ff
commit 2a08a3cc07
7 changed files with 13 additions and 13 deletions

View File

@@ -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;

View File

@@ -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)