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:
Paul Beckingham
2009-03-08 22:56:47 -04:00
parent 3f418c6fdc
commit 28e997691f
5 changed files with 18 additions and 49 deletions

View File

@@ -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;