basic delete works

This commit is contained in:
2021-07-09 23:42:43 +02:00
parent ddb9441e23
commit 5e69ce1047
5 changed files with 13 additions and 3 deletions

View File

@@ -29,6 +29,11 @@ Row::Row(const Row &other) {
}
}
Row& Row::operator=(Row other) {
std::swap(m_columns, other.m_columns);
return *this;
}
void Row::setColumnValue(int col_index, int value) {
m_columns[col_index] = std::make_unique<ColIntegerValue>(value);
}