don't crash if (char*)c_str() is used twice in a row on the same string and both pointers are used at the same time
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45389 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -2010,7 +2010,7 @@ private:
|
||||
~ConvertedBuffer()
|
||||
{ free(m_buf); }
|
||||
|
||||
operator const T*() const { return m_buf; }
|
||||
operator T*() const { return m_buf; }
|
||||
|
||||
ConvertedBuffer& operator=(T *str)
|
||||
{
|
||||
|
Reference in New Issue
Block a user