mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 07:38:10 +00:00
Kernel: Use MUST + Vector::try_empend instead of Vector::empend
In preparation for making Vector::empend unavailable during compilation of the Kernel.
This commit is contained in:
parent
24066ba5ef
commit
6c66311ade
5 changed files with 10 additions and 10 deletions
|
@ -119,13 +119,13 @@ UNMAP_AFTER_INIT Vector<PCIInterruptOverrideMetadata> MultiProcessorParser::get_
|
|||
entry.source_bus_irq,
|
||||
entry.destination_ioapic_id,
|
||||
entry.destination_ioapic_intin_pin);
|
||||
overrides.empend(
|
||||
MUST(overrides.try_empend(
|
||||
entry.source_bus_id,
|
||||
entry.polarity,
|
||||
entry.trigger_mode,
|
||||
entry.source_bus_irq,
|
||||
entry.destination_ioapic_id,
|
||||
entry.destination_ioapic_intin_pin);
|
||||
entry.destination_ioapic_intin_pin));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue