diff options
author | Sam Atkins <atkinssj@serenityos.org> | 2023-01-05 17:34:14 +0000 |
---|---|---|
committer | Linus Groh <mail@linusgroh.de> | 2023-01-06 16:03:50 +0100 |
commit | 6e0ad5536fad68641205f53a2d74bd411ceaee4d (patch) | |
tree | c6283f25a5b82fbc5dfacd257ab2bc07104539a2 /AK | |
parent | d7ba577c9086e4cbd1ae58bd3c85c9cc5d92c7cc (diff) | |
download | serenity-6e0ad5536fad68641205f53a2d74bd411ceaee4d.zip |
AK: Export `adopt_nonnull_ref_or_enomem` to the global namespace
Diffstat (limited to 'AK')
-rw-r--r-- | AK/RefPtr.h | 1 |
1 files changed, 1 insertions, 0 deletions
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<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; |