From 893f889d74b35bb7330c3ff3d0187042770a4490 Mon Sep 17 00:00:00 2001 From: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com> Date: Sat, 9 Sep 2023 16:11:33 +0200 Subject: [Core] Replace `ERR_FAIL_COND` with `ERR_FAIL_NULL` where applicable --- core/variant/array.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core/variant/array.cpp') diff --git a/core/variant/array.cpp b/core/variant/array.cpp index 5a0ded6c01..4c9ee68ab5 100644 --- a/core/variant/array.cpp +++ b/core/variant/array.cpp @@ -52,7 +52,7 @@ public: void Array::_ref(const Array &p_from) const { ArrayPrivate *_fp = p_from._p; - ERR_FAIL_COND(!_fp); // should NOT happen. + ERR_FAIL_NULL(_fp); // Should NOT happen. if (_fp == _p) { return; // whatever it is, nothing to do here move along -- cgit v1.2.3