diff options
Diffstat (limited to 'core/variant.h')
-rw-r--r-- | core/variant.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/core/variant.h b/core/variant.h index 1ae09ad82f..8e924be00a 100644 --- a/core/variant.h +++ b/core/variant.h @@ -474,7 +474,8 @@ public: type = NIL; } _FORCE_INLINE_ ~Variant() { - if (type != Variant::NIL) clear(); + if (type != Variant::NIL) + clear(); } }; |