mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 08:07:45 +00:00
AK: Make Bitmap construction OOM-fallible
This commit is contained in:
parent
1667a80ade
commit
871a53db76
6 changed files with 44 additions and 32 deletions
|
@ -19,7 +19,7 @@ NonnullOwnPtr<HostBridge> HostBridge::must_create_with_io_access()
|
|||
|
||||
HostBridge::HostBridge(PCI::Domain const& domain)
|
||||
: HostController(domain)
|
||||
, m_enumerated_buses(256, false)
|
||||
, m_enumerated_buses(Bitmap::try_create(256, false).release_value_but_fixme_should_propagate_errors())
|
||||
{
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue