Fix Debian GCC7 FTBFS: remove default constructors

This commit is contained in:
John Hood
2017-08-07 04:38:30 +02:00
parent 6ebc795124
commit 93daa5ac3b
3 changed files with 8 additions and 24 deletions
-15
View File
@@ -45,15 +45,6 @@ Cell::Cell( color_type background_color )
fallback( false ),
wrap( false )
{}
Cell::Cell() /* default constructor required by C++11 STL */
: contents(),
renditions( 0 ),
wide( false ),
fallback( false ),
wrap( false )
{
assert( false );
}
void Cell::reset( color_type background_color )
{
@@ -358,12 +349,6 @@ Row::Row( const size_t s_width, const color_type background_color )
: cells( s_width, Cell( background_color ) ), gen( get_gen() )
{}
Row::Row() /* default constructor required by C++11 STL */
: cells( 1, Cell() ), gen( get_gen() )
{
assert( false );
}
uint64_t Row::get_gen() const
{
static uint64_t gen_counter = 0;