diff --git a/inc/hgl/type/Smart.h b/inc/hgl/type/Smart.h index 2949eff..4d36f05 100644 --- a/inc/hgl/type/Smart.h +++ b/inc/hgl/type/Smart.h @@ -462,6 +462,11 @@ namespace hgl public: + AutoDelete() + { + obj=nullptr; + } + AutoDelete(T *o) { obj=o;