| 82 | |
| 83 | template<typename SomeDrawable> |
| 84 | DrawableDeque::Drawables::iterator DrawableDeque::findIterator() { |
| 85 | return std::find_if(_drawables.begin(), _drawables.end(), [](const std::unique_ptr<Drawable> &ptr) { |
| 86 | return dynamic_cast<SomeDrawable*>(ptr.get()) != nullptr; |
| 87 | }); |
| 88 | } |
| 89 | |
| 90 | template<typename SomeDrawable> |
| 91 | DrawableDeque::Drawables::iterator DrawableDeque::findIterator(const std::string &name) { |
no test coverage detected