| 333 | |
| 334 | private: |
| 335 | struct Key { |
| 336 | uint32_t ifdIdx; |
| 337 | uint32_t blockNumber; |
| 338 | |
| 339 | Key(uint32_t ifdIdxIn, uint32_t blockNumberIn) |
| 340 | : ifdIdx(ifdIdxIn), blockNumber(blockNumberIn) {} |
| 341 | bool operator==(const Key &other) const { |
| 342 | return ifdIdx == other.ifdIdx && blockNumber == other.blockNumber; |
| 343 | } |
| 344 | }; |
| 345 | |
| 346 | struct KeyHasher { |
| 347 | std::size_t operator()(const Key &k) const { |
no outgoing calls
no test coverage detected