Compare commits

..

No commits in common. "de84f9573ba397ff189af5fb420ba9da868852ac" and "03c63cdf909af4c9bb907dab9f1b25469fa1cb4a" have entirely different histories.

2 changed files with 1 additions and 12 deletions

View File

@ -240,7 +240,7 @@ namespace blt::string
std::string columnName; std::string columnName;
size_t maxColumnLength = 0; size_t maxColumnLength = 0;
explicit TableColumn(std::string columnName): columnName(std::move(columnName)) TableColumn(std::string columnName): columnName(std::move(columnName))
{} {}
}; };
@ -281,11 +281,6 @@ namespace blt::string
columns.push_back(column); columns.push_back(column);
} }
inline void addColumn(std::string column)
{
columns.emplace_back(std::move(column));
}
inline void addRow(TableRow row) inline void addRow(TableRow row)
{ {
if (row.rowValues.size() > columns.size()) if (row.rowValues.size() > columns.size())

View File

@ -84,10 +84,4 @@ void blt::test::utility::run()
(new string::BinaryTreeFormatter::Node("total -= total * 0.05"))) (new string::BinaryTreeFormatter::Node("total -= total * 0.05")))
); );
printLines(assign1.construct()); printLines(assign1.construct());
blt::string::TableFormatter tableQ2i1("Iteration 1");
tableQ2i1.addColumn("Statement");
tableQ2i1.addColumn("Statement");
printLines(tableQ2i1.createTable(true, true));
} }