From 2bad89dfd8d100145526637c5ef33b8f410014df Mon Sep 17 00:00:00 2001 From: Charlie Blake Date: Tue, 19 Jun 2018 16:48:56 +0100 Subject: Reduce memory taken up by dfs datastructures --- src/main/game/move.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/main/game/move.h') 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 -- cgit v1.2.1