remove unused hash function
This commit is contained in:
parent
4b427c40f9
commit
0dbeb6e202
1 changed files with 0 additions and 9 deletions
|
@ -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);
|
||||||
|
|
Loading…
Reference in a new issue