diff --git a/src/common/Variant.h b/src/common/Variant.h index cc99f198b..9a860a73c 100644 --- a/src/common/Variant.h +++ b/src/common/Variant.h @@ -93,10 +93,13 @@ private: FUSERDATA, NIL, TABLE - } type; + }; static const int MAX_SMALL_STRING_LENGTH = 15; + Type type; + love::Type udatatype; + union Data { bool boolean; @@ -111,8 +114,6 @@ private: } smallstring; } data; - love::Type udatatype; - }; // Variant } // love