diff options
Diffstat (limited to 'src/main/game/global_cache.h')
| -rw-r--r-- | src/main/game/global_cache.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main/game/global_cache.h b/src/main/game/global_cache.h index b35acc6..a5c6768 100644 --- a/src/main/game/global_cache.h +++ b/src/main/game/global_cache.h @@ -18,12 +18,13 @@ public: bool insert(const std::vector<pile>&); bool contains(const std::vector<pile>&); + friend std::size_t hash_value(card const&); private: + static sol_rules rules; std::unordered_set< std::vector<pile>, boost::hash<std::vector<pile>> > u_set; }; - #endif //SOLVITAIRE_GLOBAL_CACHE_H |
