| 116 | |
| 117 | template<class Pred> |
| 118 | std::vector<T> removeIf(Pred _pred) |
| 119 | { |
| 120 | auto const removedBegin = std::remove_if(m_queue.begin(), m_queue.end(), _pred); |
| 121 | |
| 122 | return removeRange(removedBegin, m_queue.end()); |
| 123 | } |
| 124 | |
| 125 | bool replace(h256 const& _hash, T&& _t) |
| 126 | { |
no test coverage detected