mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-30 13:19:02 +00:00
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:
parent
8410d6aadb
commit
d3db45c60b
Notes:
sideshowbarker
2024-07-18 12:31:52 +09:00
Author: https://github.com/alimpfard
Commit: d3db45c60b
Pull-request: https://github.com/SerenityOS/serenity/pull/7950
1 changed files with 1 additions and 1 deletions
|
@ -421,7 +421,7 @@ public:
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
T take_last()
|
ALWAYS_INLINE T take_last()
|
||||||
{
|
{
|
||||||
VERIFY(!is_empty());
|
VERIFY(!is_empty());
|
||||||
auto value = move(raw_last());
|
auto value = move(raw_last());
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue