make Ubuntu 16.04 happy
This commit is contained in:
parent
36d9d31d2f
commit
574d2b2bea
|
@ -172,13 +172,14 @@ struct TFMSpeed {
|
||||||
};
|
};
|
||||||
|
|
||||||
// to make it work with map
|
// to make it work with map
|
||||||
template<>
|
namespace std {
|
||||||
struct std::hash<TFMSpeed>
|
template<> struct hash<TFMSpeed>
|
||||||
{
|
{
|
||||||
size_t operator()(const TFMSpeed& s) const noexcept {
|
size_t operator()(const TFMSpeed& s) const noexcept {
|
||||||
return s.speedEven<<16|s.speedOdd<<8|s.interleaveFactor;
|
return s.speedEven<<16|s.speedOdd<<8|s.interleaveFactor;
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
}
|
||||||
|
|
||||||
struct TFMParsePatternInfo {
|
struct TFMParsePatternInfo {
|
||||||
TFMRLEReader* reader;
|
TFMRLEReader* reader;
|
||||||
|
|
Loading…
Reference in a new issue