aboutsummaryrefslogtreecommitdiff
path: root/src/main/game/pile.cpp
diff options
context:
space:
mode:
authorthecharlesblake2018-02-14 16:42:38 +0000
committerthecharlesblake2018-02-14 16:59:07 +0000
commit86ce38efc5ad3bf4fe06ef4c515591545e6fe925 (patch)
tree538d77e74fef34fb460326875e9b861401f4b3e8 /src/main/game/pile.cpp
parentResolve name ambiguity in card class (diff)
downloadmetasol-86ce38efc5ad3bf4fe06ef4c515591545e6fe925.tar.gz
metasol-86ce38efc5ad3bf4fe06ef4c515591545e6fe925.zip

Update game rep to deal with foundation dominance

Diffstat (limited to 'src/main/game/pile.cpp')
-rw-r--r--src/main/game/pile.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main/game/pile.cpp b/src/main/game/pile.cpp
index 367f7a0..382fa50 100644
--- a/src/main/game/pile.cpp
+++ b/src/main/game/pile.cpp
@@ -9,6 +9,8 @@
using namespace std;
+const pile::size_type pile::max_size_type = 255;
+
pile::pile(std::vector<card> pv) : pile_vec(pv) {
}