mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#4348 System , cppcheck : Remove unused functions
This commit is contained in:
@@ -272,29 +272,6 @@ void RifEclipseDataTableFormatter::tableCompleted(const QString& appendText, boo
|
||||
}
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
void RifEclipseDataTableFormatter::addValueTable(QTextStream& stream, const QString& name, size_t columns, const std::vector<double>& values)
|
||||
{
|
||||
RifEclipseDataTableFormatter subFormatter(stream);
|
||||
|
||||
std::vector<RifEclipseOutputTableColumn> cols(columns, RifEclipseOutputTableColumn(""));
|
||||
|
||||
subFormatter.setTableRowPrependText("");
|
||||
subFormatter.keyword(name);
|
||||
subFormatter.header(cols);
|
||||
|
||||
int colCount = 0;
|
||||
for (size_t i = 0; i < values.size(); i++)
|
||||
{
|
||||
subFormatter.add(values[i]);
|
||||
if (++colCount % columns == 0 && i < values.size() - 1) subFormatter.rowCompleted("");
|
||||
}
|
||||
subFormatter.rowCompleted();
|
||||
subFormatter.tableCompleted("", false);
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user