Václav Slavík
|
ba5619e076
|
Move wxScopedPtr::reset() implementation to wxDEFINE_SCOPED_PTR.
Just as the destructor, reset() calls delete on T pointer and so can
only be defined when T is fully defined.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@64222 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2010-05-06 05:43:01 +00:00 |
|
Václav Slavík
|
bdd6a03de7
|
Use wxCHECKED_DELETE in wxScopedPtr::reset().
It was only used in delete call in destructor, but the use in reset()
needs safeguards as well.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@64221 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2010-05-06 05:42:57 +00:00 |
|
Václav Slavík
|
4e0c592f98
|
Use wxCHECKED_DELETE in wxScopedPtr<T>.
It was only used in macros-based implementation, use it in the template
version too.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@64220 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2010-05-06 05:42:52 +00:00 |
|
Vadim Zeitlin
|
a2d03e4c51
|
workaround for Borland compilation: don't use unspecified_bool_type for it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60347 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2009-04-25 14:07:15 +00:00 |
|
Vadim Zeitlin
|
664e13143e
|
renamed wx/ptr_shrd.h to wx/sharedptr.h; split wx/ptr_scpd.h in wx/scopedptr.h and wx/scopedarray.h; extracted common parts into new wx/checkeddelete.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58634 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2009-02-03 12:01:46 +00:00 |
|