| 565 | m_lb->erase(it); |
| 566 | } |
| 567 | void push_back (const WeightedBox& bx) |
| 568 | { |
| 569 | m_weight += bx.weight(); |
| 570 | m_lb->push_back(bx); |
| 571 | } |
| 572 | [[nodiscard]] int size () const { return static_cast<int>(m_lb->size()); } |
| 573 | [[nodiscard]] Vector<WeightedBox>::const_iterator begin () const { return m_lb->begin(); } |
| 574 | [[nodiscard]] Vector<WeightedBox>::iterator begin () { return m_lb->begin(); } // NOLINT(readability-make-member-function-const) |
no test coverage detected