make Ubuntu 16.04 happy

This commit is contained in:
tildearrow 2024-05-01 14:19:27 -05:00
parent 36d9d31d2f
commit 574d2b2bea

View file

@ -172,13 +172,14 @@ struct TFMSpeed {
};
// to make it work with map
template<>
struct std::hash<TFMSpeed>
namespace std {
template<> struct hash<TFMSpeed>
{
size_t operator()(const TFMSpeed& s) const noexcept {
return s.speedEven<<16|s.speedOdd<<8|s.interleaveFactor;
}
};
}
struct TFMParsePatternInfo {
TFMRLEReader* reader;