mirror of
https://github.com/SerenityOS/serenity
synced 2024-07-21 18:15:58 +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
|
@ -421,7 +421,7 @@ public:
|
|||
}
|
||||
}
|
||||
|
||||
T take_last()
|
||||
ALWAYS_INLINE T take_last()
|
||||
{
|
||||
VERIFY(!is_empty());
|
||||
auto value = move(raw_last());
|
||||
|
|
Loading…
Reference in a new issue