summaryrefslogtreecommitdiff
path: root/AK/Stack.h
diff options
context:
space:
mode:
Diffstat (limited to 'AK/Stack.h')
-rw-r--r--AK/Stack.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/AK/Stack.h b/AK/Stack.h
index 907b7aa778..830387af23 100644
--- a/AK/Stack.h
+++ b/AK/Stack.h
@@ -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;
};