Skip to content

Commit

Permalink
fix errormsg
Browse files Browse the repository at this point in the history
  • Loading branch information
arng40 committed Dec 17, 2024
1 parent b23bcf3 commit 6b024b4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions src/coreComponents/common/format/table/TableData.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ namespace geos

void TableData::addRow( std::vector< TableData::CellData > const & row )
{
m_rows.push_back( rows );
m_rows.push_back( row );
}

void TableData::addSeparator()
Expand All @@ -43,7 +43,6 @@ void TableData::addSeparator()
void TableData::clear()
{
m_rows.clear();
m_errorsMsg.clear();
}

std::vector< std::vector< TableData::CellData > > const & TableData::getTableDataRows() const
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -428,7 +428,7 @@ TEST( testTable, testCellMerging )
tableData.addRow( "Long product size", 54, 4564575, "long size value", 5454554512, 60 );
tableData.addRow( "ProductA", 54, 4564575, "long size value", 5454554512, 60 );
tableData.addSeparator();
tableData.addRow( "P1", "2002", CellType::MergeNext, CellType::MergeNext, CellType::MergeNext, "1212121245452145454545" );
tableData.addRow( "P1", "2002", CellType::MergeNext, CellType::MergeNext, CellType::MergeNext, "1212121245452145454545" );
tableData.addSeparator();
tableData.addRow( "Alpha", 1001, 8, "Beta\nwater", "2002\n1.0", CellType::MergeNext );

Expand Down

0 comments on commit 6b024b4

Please sign in to comment.