diff options
author | Sam Atkins <atkinssj@serenityos.org> | 2022-12-20 16:34:13 +0000 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2022-12-22 15:48:53 +0100 |
commit | bed5961fc21ea499ede556d6269df29b8a7a9e15 (patch) | |
tree | c84c9050a0dbbd948f54cb0829d0b98d42cf3af2 /Kernel/Bus/PCI/Controller | |
parent | c4e8509aacee087b05d9797ab013ac5b9020ea72 (diff) | |
download | serenity-bed5961fc21ea499ede556d6269df29b8a7a9e15.zip |
AK: Rename Bitmap::try_create() to ::create()
This is step 1 to removing `must_create()`.
Diffstat (limited to 'Kernel/Bus/PCI/Controller')
-rw-r--r-- | Kernel/Bus/PCI/Controller/HostController.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Kernel/Bus/PCI/Controller/HostController.cpp b/Kernel/Bus/PCI/Controller/HostController.cpp index 81754c2cc5..22cd93de5c 100644 --- a/Kernel/Bus/PCI/Controller/HostController.cpp +++ b/Kernel/Bus/PCI/Controller/HostController.cpp @@ -14,7 +14,7 @@ namespace Kernel::PCI { HostController::HostController(PCI::Domain const& domain) : m_domain(domain) - , m_enumerated_buses(Bitmap::try_create(256, false).release_value_but_fixme_should_propagate_errors()) + , m_enumerated_buses(Bitmap::create(256, false).release_value_but_fixme_should_propagate_errors()) { } |