Remove unnecessary copy ctors/copy assignment operators

C++11 deprecates having one without the other.
Eliminates many, many GCC -Wdeprecated-copy warnings.
This commit is contained in:
Paul Cornett
2019-10-14 09:07:21 -07:00
parent 764c01832d
commit a3598ba33f
15 changed files with 0 additions and 106 deletions

View File

@@ -138,15 +138,6 @@ void wxRect2DDouble::ConstrainTo( const wxRect2DDouble &rect )
SetTop( rect.GetTop() );
}
wxRect2DDouble& wxRect2DDouble::operator=( const wxRect2DDouble &r )
{
m_x = r.m_x;
m_y = r.m_y;
m_width = r.m_width;
m_height = r.m_height;
return *this;
}
// integer version
// for the following calculations always remember