DeleteFunction argument should be non-const since it
is deleted inside the function. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37272 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -13,7 +13,7 @@
|
||||
|
||||
#undef WX_DEFINE_LIST
|
||||
#define WX_DEFINE_LIST(name) \
|
||||
void name::DeleteFunction( _WX_DELETEFUNCTIONCONST _WX_LIST_ITEM_TYPE_##name X ) \
|
||||
void name::DeleteFunction( _WX_LIST_ITEM_TYPE_##name X ) \
|
||||
{ \
|
||||
delete X; \
|
||||
}
|
||||
|
Reference in New Issue
Block a user