From 0dbeb6e2027d291d9a760a17c16a6c4643b55a82 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maximilian=20Ke=C3=9Fler?= Date: Wed, 15 Nov 2023 22:09:34 +0100 Subject: [PATCH] remove unused hash function --- include/game_state.h | 9 --------- 1 file changed, 9 deletions(-) diff --git a/include/game_state.h b/include/game_state.h index 8b03a2d..b1acc26 100644 --- a/include/game_state.h +++ b/include/game_state.h @@ -119,15 +119,6 @@ namespace Hanabi { } } -namespace std { - template<> - struct hash { - std::size_t operator()(Hanabi::Card const& card) const noexcept { - return card.suit * 6 + card.rank; - } - }; -} - namespace Hanabi { inline std::string to_string(const Hanabi::Card &card);