mirror of
https://github.com/SerenityOS/serenity.git
synced 2025-01-23 18:02:05 -05: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
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());
|
||||
auto value = move(raw_last());
|
||||
|
|
Loading…
Add table
Reference in a new issue