AK: Make Vector::take_last() ALWAYS_INLINE

This function doesn't do a whole lot, but is called quite a bit.
This commit is contained in:
Ali Mohammad Pur 2021-06-09 20:30:28 +04:30 committed by Ali Mohammad Pur
parent 8410d6aadb
commit d3db45c60b
Notes: sideshowbarker 2024-07-18 12:31:52 +09:00

View File

@ -421,7 +421,7 @@ public:
}
}
T take_last()
ALWAYS_INLINE T take_last()
{
VERIFY(!is_empty());
auto value = move(raw_last());