[Core] Replace ERR_FAIL_COND with ERR_FAIL_NULL where applicable
This commit is contained in:
parent
221884e6bc
commit
893f889d74
44 changed files with 152 additions and 152 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue