mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-04-21 12:05:15 +00:00
AK: Export adopt_nonnull_ref_or_enomem
to the global namespace
This commit is contained in:
parent
d7ba577c90
commit
6e0ad5536f
Notes:
sideshowbarker
2024-07-18 04:38:32 +09:00
Author: https://github.com/AtkinsSJ Commit: https://github.com/SerenityOS/serenity/commit/6e0ad5536f Pull-request: https://github.com/SerenityOS/serenity/pull/16851 Reviewed-by: https://github.com/linusg Reviewed-by: https://github.com/trflynn89 ✅
1 changed files with 1 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue