aboutsummaryrefslogtreecommitdiff
path: root/src/main/game/pile.h
diff options
context:
space:
mode:
authorthecharlesblake2017-11-12 12:26:34 +0000
committerthecharlesblake2017-11-12 12:26:34 +0000
commitf6259b5e0ebf20a3da6683d2e5c6c09fe33e1064 (patch)
tree3de190932a6feb720091b877681cdee031e8b123 /src/main/game/pile.h
parentSimplify is_solved() (diff)
downloadmetasol-f6259b5e0ebf20a3da6683d2e5c6c09fe33e1064.tar.gz
metasol-f6259b5e0ebf20a3da6683d2e5c6c09fe33e1064.zip

Refactor and improve state printing

Diffstat (limited to 'src/main/game/pile.h')
-rw-r--r--src/main/game/pile.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/game/pile.h b/src/main/game/pile.h
index 807364f..1297063 100644
--- a/src/main/game/pile.h
+++ b/src/main/game/pile.h
@@ -31,12 +31,12 @@ public:
void place(const card&);
card take();
+ void clear();
card& operator[] (std::vector<card>::size_type);
card operator[] (std::vector<card>::size_type) const;
friend bool operator==(const pile&, const pile&);
- friend std::ostream & operator<<(std::ostream &, pile const &);
private:
bool one_lt(int, int) const;