]> git.saurik.com Git - wxWidgets.git/commit
Move wxScopedPtr::reset() implementation to wxDEFINE_SCOPED_PTR.
authorVáclav Slavík <vslavik@fastmail.fm>
Thu, 6 May 2010 05:43:01 +0000 (05:43 +0000)
committerVáclav Slavík <vslavik@fastmail.fm>
Thu, 6 May 2010 05:43:01 +0000 (05:43 +0000)
commitba5619e07600355a9823f9d2dcfab56cdcbbfb07
treec3c0e10b187eb0b8f3eae2211428d2675939e72b
parentbdd6a03de766061057dbd747637446782193afa9
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
include/wx/scopedptr.h