diff options
author | Nico Weber <thakis@chromium.org> | 2023-02-10 20:53:39 -0500 |
---|---|---|
committer | Jelle Raaijmakers <jelle@gmta.nl> | 2023-02-12 22:54:28 +0100 |
commit | 9cfd7a299c42136fe56b4e1c30e46705401fc90b (patch) | |
tree | 3b190bf01d67ff940c90a36e0580a07097dbe357 /AK/AtomicRefCounted.h | |
parent | f698585097fcc1cd2770483dcfea774279c5a770 (diff) | |
download | serenity-9cfd7a299c42136fe56b4e1c30e46705401fc90b.zip |
Userland: Use allocation-failure safe functions where it's easy
I went through all callers of adopt_own() and replaced them with
try_make<>() if possible or adopt_nonnull_own_or_enomem() else
in cases where it was easy (i.e. in functions already returning
ErrorOr).
No intended behavior change.
Diffstat (limited to 'AK/AtomicRefCounted.h')
0 files changed, 0 insertions, 0 deletions