summaryrefslogtreecommitdiff
path: root/AK
diff options
context:
space:
mode:
Diffstat (limited to 'AK')
-rw-r--r--AK/Vector.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/AK/Vector.h b/AK/Vector.h
index b199dfb77b..ed8b02b576 100644
--- a/AK/Vector.h
+++ b/AK/Vector.h
@@ -249,7 +249,7 @@ public:
}
// NOTE: Vector::is_null() exists for the benefit of String::copy().
- bool is_null() const { return is_empty(); }
+ bool is_null() const { return false; }
bool is_empty() const { return size() == 0; }
int size() const { return m_size; }
int capacity() const { return m_capacity; }