1
0
mirror of https://github.com/SerenityOS/serenity synced 2024-07-09 08:57:20 +00:00

AK: Export adopt_nonnull_ref_or_enomem to the global namespace

This commit is contained in:
Sam Atkins 2023-01-05 17:34:14 +00:00 committed by Linus Groh
parent d7ba577c90
commit 6e0ad5536f

View File

@ -353,6 +353,7 @@ inline ErrorOr<NonnullRefPtr<T>> adopt_nonnull_ref_or_enomem(T* object)
}
#if USING_AK_GLOBALLY
using AK::adopt_nonnull_ref_or_enomem;
using AK::adopt_ref_if_nonnull;
using AK::RefPtr;
using AK::static_ptr_cast;