mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-30 13:19:47 +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:
committed by
Andreas Kling
parent
24066ba5ef
commit
6c66311ade
@@ -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));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user