Remove unnecessary copy constructor and operator=
This commit is contained in:
@@ -11,23 +11,6 @@ Cell::Cell()
|
|||||||
renditions()
|
renditions()
|
||||||
{}
|
{}
|
||||||
|
|
||||||
Cell::Cell( const Cell &x )
|
|
||||||
: contents( x.contents ),
|
|
||||||
fallback( x.fallback ),
|
|
||||||
width( x.width ),
|
|
||||||
renditions( x.renditions )
|
|
||||||
{}
|
|
||||||
|
|
||||||
Cell & Cell::operator=( const Cell &x )
|
|
||||||
{
|
|
||||||
contents = x.contents;
|
|
||||||
fallback = x.fallback;
|
|
||||||
width = x.width;
|
|
||||||
renditions = x.renditions;
|
|
||||||
|
|
||||||
return *this;
|
|
||||||
}
|
|
||||||
|
|
||||||
Row::Row( size_t s_width )
|
Row::Row( size_t s_width )
|
||||||
: cells( s_width )
|
: cells( s_width )
|
||||||
{}
|
{}
|
||||||
|
|||||||
@@ -17,9 +17,6 @@ namespace Terminal {
|
|||||||
|
|
||||||
Cell();
|
Cell();
|
||||||
|
|
||||||
Cell( const Cell & );
|
|
||||||
Cell & operator=( const Cell & );
|
|
||||||
|
|
||||||
void reset( void );
|
void reset( void );
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user