Update mxbackgroundcolor.cpp

This commit is contained in:
Misha 2023-06-28 08:19:45 +03:00
parent 710c1dd5ea
commit a919eeb7f4

View file

@ -4,18 +4,19 @@
// OFFSET: LEGO1 0x1003bec0 // OFFSET: LEGO1 0x1003bec0
MxBackgroundColor::~MxBackgroundColor() MxBackgroundColor::~MxBackgroundColor()
{ {
m_colorString.~MxString();
m_name.~MxString(); delete &m_colorString;
delete &m_name;
} }
// OFFSET: LEGO1 0x1003bea0 // OFFSET: LEGO1 0x1003bea0
MxString* MxBackgroundColor::GetColorString() MxString *MxBackgroundColor::GetColorString()
{ {
return &m_colorString; return &m_colorString;
} }
// OFFSET: LEGO1 0x1003beb0 // OFFSET: LEGO1 0x1003beb0
void MxBackgroundColor::SetColorString(const char* colorString) void MxBackgroundColor::SetColorString(const char *colorString)
{ {
m_colorString.operator=(colorString); m_colorString.operator=(colorString);
} }