1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 10:27:35 +00:00

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

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;
};