Move member initialization in default ctor
This commit is contained in:
@@ -41,6 +41,11 @@ union wxAnyValueBuffer
|
|||||||
|
|
||||||
void* m_ptr;
|
void* m_ptr;
|
||||||
wxByte m_buffer[WX_ANY_VALUE_BUFFER_SIZE];
|
wxByte m_buffer[WX_ANY_VALUE_BUFFER_SIZE];
|
||||||
|
|
||||||
|
wxAnyValueBuffer()
|
||||||
|
{
|
||||||
|
m_ptr = NULL;
|
||||||
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
//
|
//
|
||||||
@@ -730,7 +735,6 @@ public:
|
|||||||
wxAny()
|
wxAny()
|
||||||
{
|
{
|
||||||
m_type = wxAnyNullValueType;
|
m_type = wxAnyNullValueType;
|
||||||
m_buffer = { 0 };
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Reference in New Issue
Block a user