| 2023 | } |
| 2024 | |
| 2025 | iterator erase(const_iterator pos) { |
| 2026 | ROBIN_HOOD_TRACE(this) |
| 2027 | // its safe to perform const cast here |
| 2028 | // NOLINTNEXTLINE(cppcoreguidelines-pro-type-const-cast) |
| 2029 | return erase(iterator{const_cast<Node*>(pos.mKeyVals), const_cast<uint8_t*>(pos.mInfo)}); |
| 2030 | } |
| 2031 | |
| 2032 | // Erases element at pos, returns iterator to the next element. |
| 2033 | iterator erase(iterator pos) { |
no test coverage detected