From 6e0ad5536fad68641205f53a2d74bd411ceaee4d Mon Sep 17 00:00:00 2001 From: Sam Atkins Date: Thu, 5 Jan 2023 17:34:14 +0000 Subject: [PATCH] AK: Export `adopt_nonnull_ref_or_enomem` to the global namespace --- AK/RefPtr.h | 1 + 1 file changed, 1 insertion(+) diff --git a/AK/RefPtr.h b/AK/RefPtr.h index 9586e9c11e..f99ac2c9fa 100644 --- a/AK/RefPtr.h +++ b/AK/RefPtr.h @@ -353,6 +353,7 @@ inline ErrorOr> 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;