diff options
author | A Thousand Ships <96648715+AThousandShips@users.noreply.github.com> | 2024-01-28 21:51:39 +0100 |
---|---|---|
committer | A Thousand Ships <96648715+AThousandShips@users.noreply.github.com> | 2024-01-29 09:59:18 +0100 |
commit | 15369fdb1d692e1515dd888dfbae275074be63be (patch) | |
tree | 46c06709329d06989d343b47cb3f2e5dae1400eb /core/variant/variant.h | |
parent | 17e7f85c06366b427e5068c5b3e2940e27ff5f1d (diff) | |
download | redot-engine-15369fdb1d692e1515dd888dfbae275074be63be.tar.gz |
Remove unnecessary `this->` expressions
Diffstat (limited to 'core/variant/variant.h')
-rw-r--r-- | core/variant/variant.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/variant/variant.h b/core/variant/variant.h index 602d287f22..ef48fa9fba 100644 --- a/core/variant/variant.h +++ b/core/variant/variant.h @@ -176,7 +176,7 @@ private: struct PackedArrayRefBase { SafeRefCount refcount; _FORCE_INLINE_ PackedArrayRefBase *reference() { - if (this->refcount.ref()) { + if (refcount.ref()) { return this; } else { return nullptr; |