From 29733e65f848826f2721d932841e7e86fd0581f0 Mon Sep 17 00:00:00 2001 From: Sam Atkins Date: Tue, 20 Dec 2022 16:45:07 +0000 Subject: AK+Everywhere: Replace all Bitmap::must_create() uses with ::create() Well, *someone* has to add some more FIXMEs to keep FIXME Roulette going. :^) --- Kernel/Graphics/VirtIOGPU/GraphicsAdapter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Kernel') 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::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()); -- cgit v1.2.3