summaryrefslogtreecommitdiff
path: root/Kernel
diff options
context:
space:
mode:
authorSam Atkins <atkinssj@serenityos.org>2022-12-20 16:45:07 +0000
committerAndreas Kling <kling@serenityos.org>2022-12-22 15:48:53 +0100
commit29733e65f848826f2721d932841e7e86fd0581f0 (patch)
treef6ca1fa917ad9057ba3106f7b149cea3b82fb361 /Kernel
parentbed5961fc21ea499ede556d6269df29b8a7a9e15 (diff)
downloadserenity-29733e65f848826f2721d932841e7e86fd0581f0.zip
AK+Everywhere: Replace all Bitmap::must_create() uses with ::create()
Well, *someone* has to add some more FIXMEs to keep FIXME Roulette going. :^)
Diffstat (limited to 'Kernel')
-rw-r--r--Kernel/Graphics/VirtIOGPU/GraphicsAdapter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Kernel/Graphics/VirtIOGPU/GraphicsAdapter.cpp b/Kernel/Graphics/VirtIOGPU/GraphicsAdapter.cpp
index 89f0c877c4..8038258769 100644
--- a/Kernel/Graphics/VirtIOGPU/GraphicsAdapter.cpp
+++ b/Kernel/Graphics/VirtIOGPU/GraphicsAdapter.cpp
@@ -31,7 +31,7 @@ NonnullLockRefPtr<VirtIOGraphicsAdapter> VirtIOGraphicsAdapter::initialize(PCI::
"VirtGPU Scratch Space"sv,
Memory::Region::Access::ReadWrite));
- auto active_context_ids = Bitmap::must_create(VREND_MAX_CTX, false);
+ auto active_context_ids = MUST(Bitmap::create(VREND_MAX_CTX, false));
auto adapter = adopt_lock_ref(*new (nothrow) VirtIOGraphicsAdapter(device_identifier, move(active_context_ids), move(scratch_space_region)));
adapter->initialize();
MUST(adapter->initialize_adapter());