AK: Add contains_slow method to Stack

This commit is contained in:
cflip 2022-11-18 10:12:45 -07:00 committed by Andreas Kling
parent e86e59699d
commit 9a0bb8212a
Notes: sideshowbarker 2024-07-17 12:02:22 +09:00

View File

@ -63,6 +63,11 @@ public:
return m_stack.last();
}
bool contains_slow(T const& value) const
{
return m_stack.contains_slow(value);
}
private:
Vector<T, stack_size> m_stack;
};