add a new AutoDeleteArray() function

This commit is contained in:
2020-01-02 21:41:42 +08:00
parent 88e836be16
commit 122c7addc2

View File

@@ -504,6 +504,11 @@ namespace hgl
public:
AutoDeleteArray()
{
obj=nullptr;
}
AutoDeleteArray(T *o)
{
obj=o;