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:
@@ -635,16 +635,6 @@ public:
|
||||
void SetCol( int n ) { m_col = n; }
|
||||
void Set( int row, int col ) { m_row = row; m_col = col; }
|
||||
|
||||
wxGridCellCoords& operator=( const wxGridCellCoords& other )
|
||||
{
|
||||
if ( &other != this )
|
||||
{
|
||||
m_row=other.m_row;
|
||||
m_col=other.m_col;
|
||||
}
|
||||
return *this;
|
||||
}
|
||||
|
||||
bool operator==( const wxGridCellCoords& other ) const
|
||||
{
|
||||
return (m_row == other.m_row && m_col == other.m_col);
|
||||
|
Reference in New Issue
Block a user