Remove unnecessary copy constructor and operator=

This commit is contained in:
Keith Winstein
2011-02-04 18:20:00 -05:00
parent 63d2f5ce42
commit 2f7474481f
2 changed files with 0 additions and 20 deletions
-17
View File
@@ -11,23 +11,6 @@ Cell::Cell()
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 )
: cells( s_width )
{}
-3
View File
@@ -17,9 +17,6 @@ namespace Terminal {
Cell();
Cell( const Cell & );
Cell & operator=( const Cell & );
void reset( void );
};