mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-12-08 06:09:58 +00:00
LibRegex: Use unchecked_empend() where possible
This commit is contained in:
parent
c1742fa989
commit
061b457bac
Notes:
github-actions[bot]
2025-11-26 14:35:28 +00:00
Author: https://github.com/tcl3
Commit: 061b457bac
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/6938
Reviewed-by: https://github.com/alimpfard ✅
2 changed files with 2 additions and 2 deletions
|
|
@ -497,7 +497,7 @@ ALWAYS_INLINE ExecutionResult OpCode_Compare::execute(MatchInput const& input, M
|
|||
};
|
||||
|
||||
Vector<DisjunctionState, 4> disjunction_states;
|
||||
disjunction_states.empend();
|
||||
disjunction_states.unchecked_empend();
|
||||
|
||||
auto current_disjunction_state = [&]() -> DisjunctionState& { return disjunction_states.last(); };
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue