diff options
author | Tom <tomut@yahoo.com> | 2021-01-03 16:41:49 -0700 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-01-04 19:13:52 +0100 |
commit | a6c459dd2907be6479a89368c0f957da06e5c1ec (patch) | |
tree | 7971d89cdaa977044ca5b36d887a8a264f0d8c6d /Libraries/LibC/mntent.cpp | |
parent | 4adfdb98aa2252409e766d43ae9e4a4ede82e12e (diff) | |
download | serenity-a6c459dd2907be6479a89368c0f957da06e5c1ec.zip |
AK: Decorate RefCountedBase::try_ref with nodiscard
Because try_ref only increments the ref count if it returned true,
it is important that any caller properly acts upon the return value.
Diffstat (limited to 'Libraries/LibC/mntent.cpp')
0 files changed, 0 insertions, 0 deletions