From d3db45c60b09ff6835fdea38335a14ae66223df1 Mon Sep 17 00:00:00 2001 From: Ali Mohammad Pur Date: Wed, 9 Jun 2021 20:30:28 +0430 Subject: [PATCH] AK: Make Vector::take_last() ALWAYS_INLINE This function doesn't do a whole lot, but is called quite a bit. --- AK/Vector.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/AK/Vector.h b/AK/Vector.h index a6fb9150fe..609c589fc3 100644 --- a/AK/Vector.h +++ b/AK/Vector.h @@ -421,7 +421,7 @@ public: } } - T take_last() + ALWAYS_INLINE T take_last() { VERIFY(!is_empty()); auto value = move(raw_last());