diff options
| author | Charlie Blake | 2018-06-20 10:05:47 +0100 |
|---|---|---|
| committer | GitHub | 2018-06-20 10:05:47 +0100 |
| commit | adb28d39b2d693db3d2cfa2a04d56c3942122e64 (patch) | |
| tree | 1fb5c123465c39b77c05e6857621bc06bfc34b4f /src/main/game | |
| parent | Merge pull request #62 from thecharlesblake/fix-broken-tests (diff) | |
| parent | Reduce memory taken up by dfs datastructures (diff) | |
| download | metasol-adb28d39b2d693db3d2cfa2a04d56c3942122e64.tar.gz metasol-adb28d39b2d693db3d2cfa2a04d56c3942122e64.zip | |
Merge pull request #63 from thecharlesblake/improve-mem-performance
Improve mem performance
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 |
