Move member initialization in default ctor
This commit is contained in:
parent
0508764973
commit
62981e1561
1 changed files with 5 additions and 1 deletions
|
|
@ -41,6 +41,11 @@ union wxAnyValueBuffer
|
|||
|
||||
void* m_ptr;
|
||||
wxByte m_buffer[WX_ANY_VALUE_BUFFER_SIZE];
|
||||
|
||||
wxAnyValueBuffer()
|
||||
{
|
||||
m_ptr = NULL;
|
||||
}
|
||||
};
|
||||
|
||||
//
|
||||
|
|
@ -730,7 +735,6 @@ public:
|
|||
wxAny()
|
||||
{
|
||||
m_type = wxAnyNullValueType;
|
||||
m_buffer = { 0 };
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue