diff options
Diffstat (limited to 'src/cell.cc')
-rw-r--r-- | src/cell.cc | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/cell.cc b/src/cell.cc index c586a73..21b7560 100644 --- a/src/cell.cc +++ b/src/cell.cc @@ -14,9 +14,8 @@ Cell::Cell(const Cell & other) void Cell::assign(const Cell & other) { - cell_valid = other.cell_valid; - cell_value = other.cell_value; - cell_valid = other.cell_valid; + cell_valid = other.valid(); + cell_value = other.value(); for (int i = 0; i < 9; i++) { cell_possibility[i] = other.cell_possibility[i]; |