diff options
Diffstat (limited to 'src/main/game')
| -rw-r--r-- | src/main/game/move.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/main/game/move.h b/src/main/game/move.h index b852811..1e3a9d1 100644 --- a/src/main/game/move.h +++ b/src/main/game/move.h @@ -8,7 +8,7 @@ #include "pile.h" struct move { - enum class mtype {regular, dominance, built_group, stock_to_waste, stock_to_tableau, redeal, null}; + enum class mtype : uint8_t {regular, dominance, built_group, stock_to_waste, stock_to_tableau, redeal, null}; explicit move(mtype, pile::ref = 255 , pile::ref = 255, pile::size_type = 1); friend bool operator==(const move&, const move&); @@ -19,5 +19,4 @@ struct move { pile::size_type count; }; - #endif //SOLVITAIRE_MOVE_H |
