| 63 | } |
| 64 | |
| 65 | void LayerStack::PopOverlayLayer() { |
| 66 | const auto it = std::prev(std::end(m_layers)); |
| 67 | if (it != std::end(m_layers)) { |
| 68 | m_layers.erase(it); |
| 69 | } |
| 70 | } |
| 71 | |
| 72 | void LayerStack::PopOverlayLayer(const Ref<Layer>& layer) { |
| 73 | const auto it = std::find_if(std::begin(m_layers), std::end(m_layers), [&layer](const Ref<Layer>& x) { return x == layer; }); |
nothing calls this directly
no outgoing calls
no test coverage detected