Skip to content

Commit

Permalink
Stub Board::is_valid() to allow compilation
Browse files Browse the repository at this point in the history
  • Loading branch information
dark committed Feb 3, 2024
1 parent f6fa889 commit 1bb47e8
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions board.cc
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,11 @@ void Board::clear(const int row, const int column) {
board_[row][column] = 0;
}

bool Board::is_valid() const {
// FIXME implement
return true;
}

void Board::print(std::ostream &ostream) const {
// Define how many digits are required, at max, to print each value in this board.
const int value_width = std::floor(std::log10(size_)) + 1;
Expand Down

0 comments on commit 1bb47e8

Please sign in to comment.