diff options
| author | thecharlesblake | 2017-11-12 12:26:34 +0000 |
|---|---|---|
| committer | thecharlesblake | 2017-11-12 12:26:34 +0000 |
| commit | f6259b5e0ebf20a3da6683d2e5c6c09fe33e1064 (patch) | |
| tree | 3de190932a6feb720091b877681cdee031e8b123 /src/main/game/pile.h | |
| parent | Simplify is_solved() (diff) | |
| download | metasol-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.h | 2 |
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; |
