Website Summary Files Commits Branches @commit @diff @stats
path: root / src / Models / Table.cpp
diff options
context:
space:
mode:
1 files changed, 1 insertions, 3 deletions
-rw-r--r--src/Models/Table.cpp4
diff --git a/src/Models/Table.cpp b/src/Models/Table.cpp
index 6e367bc..232d066 100644
--- a/src/Models/Table.cpp
+++ b/src/Models/Table.cpp
@@ -1,7 +1,5 @@
#include "Table.h"
Table::Table(unsigned rows, unsigned cols) {
- cells = new Cell*[rows];
- for (unsigned i = 0; i < rows; i++)
- cells[i] = new Cell[cols];
+ cells = List<List<Cell*>>(rows);
}