mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 11:38:11 +00:00
AK: Rename RetainPtr => RefPtr and Retained => NonnullRefPtr.
This commit is contained in:
parent
77b9fa89dd
commit
90b1354688
188 changed files with 562 additions and 562 deletions
|
@ -26,9 +26,9 @@ Custody* Custody::get_if_cached(Custody* parent, const String& name)
|
|||
return nullptr;
|
||||
}
|
||||
|
||||
Retained<Custody> Custody::get_or_create(Custody* parent, const String& name, Inode& inode)
|
||||
NonnullRefPtr<Custody> Custody::get_or_create(Custody* parent, const String& name, Inode& inode)
|
||||
{
|
||||
if (RetainPtr<Custody> cached_custody = get_if_cached(parent, name)) {
|
||||
if (RefPtr<Custody> cached_custody = get_if_cached(parent, name)) {
|
||||
if (&cached_custody->inode() != &inode) {
|
||||
dbgprintf("WTF! cached custody for name '%s' has inode=%s, new inode=%s\n",
|
||||
name.characters(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue