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:
parent
e86e59699d
commit
9a0bb8212a
1 changed files with 5 additions and 0 deletions
|
@ -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;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue