mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-05-16 16:12:53 +00:00
AK: Let's call decrementing reference counts "unref" instead of "deref"
It always bothered me that we're using the overloaded "dereference" term for this. Let's call it "unreference" instead. :^)
This commit is contained in:
parent
4aa1b5b40e
commit
3de5439579
Notes:
sideshowbarker
2024-07-19 09:52:10 +09:00
Author: https://github.com/awesomekling
Commit: 3de5439579
12 changed files with 24 additions and 24 deletions
|
@ -61,13 +61,13 @@ void GVariant::clear()
|
|||
{
|
||||
switch (m_type) {
|
||||
case Type::String:
|
||||
AK::deref_if_not_null(m_value.as_string);
|
||||
AK::unref_if_not_null(m_value.as_string);
|
||||
break;
|
||||
case Type::Bitmap:
|
||||
AK::deref_if_not_null(m_value.as_bitmap);
|
||||
AK::unref_if_not_null(m_value.as_bitmap);
|
||||
break;
|
||||
case Type::Icon:
|
||||
AK::deref_if_not_null(m_value.as_icon);
|
||||
AK::unref_if_not_null(m_value.as_icon);
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue