diff options
Autocommit at 28.05.2022 @ 17:54
1 files changed, 1 insertions, 3 deletions
| -rw-r--r-- | src/Models/Table.cpp | 4 |
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); } |
