From 9a0bb8212af18555bf95d486e0c2c2d11b59af1d Mon Sep 17 00:00:00 2001 From: cflip Date: Fri, 18 Nov 2022 10:12:45 -0700 Subject: [PATCH] AK: Add contains_slow method to Stack --- AK/Stack.h | 5 +++++ 1 file changed, 5 insertions(+) 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 m_stack; };