remove unused hash function

This commit is contained in:
Maximilian Keßler 2023-11-15 22:09:34 +01:00
parent 4b427c40f9
commit 0dbeb6e202
Signed by: max
GPG key ID: BCC5A619923C0BA5

View file

@ -119,15 +119,6 @@ namespace Hanabi {
} }
} }
namespace std {
template<>
struct hash<Hanabi::Card> {
std::size_t operator()(Hanabi::Card const& card) const noexcept {
return card.suit * 6 + card.rank;
}
};
}
namespace Hanabi { namespace Hanabi {
inline std::string to_string(const Hanabi::Card &card); inline std::string to_string(const Hanabi::Card &card);