diff options
author | Sam Atkins <atkinssj@serenityos.org> | 2022-12-20 16:45:07 +0000 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2022-12-22 15:48:53 +0100 |
commit | 29733e65f848826f2721d932841e7e86fd0581f0 (patch) | |
tree | f6ca1fa917ad9057ba3106f7b149cea3b82fb361 /Kernel | |
parent | bed5961fc21ea499ede556d6269df29b8a7a9e15 (diff) | |
download | serenity-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.cpp | 2 |
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()); |