mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-09-11 05:25:32 +03: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: https://github.com/SerenityOS/serenity/commit/d3db45c60b0 Pull-request: https://github.com/SerenityOS/serenity/pull/7950
@ -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…
Reference in New Issue
Block a user