Unit Tests - repair
- Added auto right trim to all table rows, which is a much more efficient way of doing what Table::optimize was doing. - Table::optimize is now a nop.
This commit is contained in:
@@ -85,7 +85,6 @@ public:
|
||||
int rowCount ();
|
||||
int columnCount ();
|
||||
const std::string render ();
|
||||
void optimize (std::string&) const;
|
||||
|
||||
private:
|
||||
std::string getCell (const int, const int);
|
||||
@@ -104,6 +103,7 @@ private:
|
||||
void formatCell (const int, const int, const int, const int, std::vector <std::string>&, std::string&);
|
||||
void sort (std::vector <int>&);
|
||||
void clean (std::string&);
|
||||
void optimize (std::string&) const;
|
||||
|
||||
private:
|
||||
std::vector <std::string> mColumns;
|
||||
|
||||
Reference in New Issue
Block a user