Use char literal instead of int for a space
This commit is contained in:
parent
9fc5f33de8
commit
c5ef2a5ee2
1 changed files with 1 additions and 1 deletions
|
@ -11,7 +11,7 @@ typedef std::vector< unitType_c > vunitType_c;
|
|||
|
||||
// Invalid value for the board square
|
||||
constexpr unitType_c square_invalid = std::numeric_limits<unitType_c>::max();
|
||||
constexpr unitType_c square_empty = 32; // 32 is ascii empty
|
||||
constexpr unitType_c square_empty = ' ';
|
||||
|
||||
// Class to store simple data about a board
|
||||
class CBoard
|
||||
|
|
Loading…
Add table
Reference in a new issue