Use char literal instead of int for a space

This commit is contained in:
Marc Di Luzio 2014-12-16 13:12:55 +00:00
parent 9fc5f33de8
commit c5ef2a5ee2

View file

@ -11,7 +11,7 @@ typedef std::vector< unitType_c > vunitType_c;
// Invalid value for the board square // Invalid value for the board square
constexpr unitType_c square_invalid = std::numeric_limits<unitType_c>::max(); 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 to store simple data about a board
class CBoard class CBoard