summaryrefslogtreecommitdiff
path: root/AK/WeakPtr.h
diff options
context:
space:
mode:
Diffstat (limited to 'AK/WeakPtr.h')
-rw-r--r--AK/WeakPtr.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/AK/WeakPtr.h b/AK/WeakPtr.h
index 137bb06632..e3c5e4b96b 100644
--- a/AK/WeakPtr.h
+++ b/AK/WeakPtr.h
@@ -29,7 +29,7 @@ public:
T& operator*() { return *ptr(); }
const T& operator*() const { return *ptr(); }
- bool isNull() const { return !m_link || !m_link->ptr(); }
+ bool is_null() const { return !m_link || !m_link->ptr(); }
void clear() { m_link = nullptr; }
WeakLink<T>* leakLink() { return m_link.leakRef(); }