diff options
| author | thecharlesblake | 2018-01-12 18:05:07 +0000 |
|---|---|---|
| committer | thecharlesblake | 2018-01-12 18:05:07 +0000 |
| commit | 895bbca6c0c7233fe11f331a10135443970ec4c5 (patch) | |
| tree | 0b2f3c3f222c858c10dfdc3f09dfb97a2840ed82 /src/main/game/pile.h | |
| parent | Implement symmetrical hash for cards (diff) | |
| download | metasol-895bbca6c0c7233fe11f331a10135443970ec4c5.tar.gz metasol-895bbca6c0c7233fe11f331a10135443970ec4c5.zip | |
Implement hash for piles
Diffstat (limited to 'src/main/game/pile.h')
| -rw-r--r-- | src/main/game/pile.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main/game/pile.h b/src/main/game/pile.h index fb7bc38..ab661ca 100644 --- a/src/main/game/pile.h +++ b/src/main/game/pile.h @@ -29,6 +29,8 @@ public: card& operator[] (size_type); card operator[] (size_type) const; + + friend bool operator==(const pile&, const pile&); friend std::size_t hash_value(pile const&); private: |
