| 58 | } |
| 59 | |
| 60 | size_t Image::Key::doGetHash() const |
| 61 | { |
| 62 | if (m_isWrapper) |
| 63 | { |
| 64 | return 0; // all wrappers are equal wrt. the cache |
| 65 | } |
| 66 | else |
| 67 | { |
| 68 | using util::ComputeHash; |
| 69 | return ComputeHash(m_size, m_format); |
| 70 | } |
| 71 | } |
| 72 | |
| 73 | namespace { |
| 74 |
nothing calls this directly
no test coverage detected