diff options
-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 f694e59051..04c2fe2012 100644 --- a/core/variant/variant.h +++ b/core/variant/variant.h @@ -488,7 +488,7 @@ public: Variant(const IPAddress &p_address); #define VARIANT_ENUM_CLASS_CONSTRUCTOR(m_enum) \ - Variant(const m_enum &p_value) { \ + Variant(m_enum p_value) { \ type = INT; \ _data._int = (int64_t)p_value; \ } |