add AutoDelete structfunction
This commit is contained in:
parent
0e9bb594d7
commit
95f8e803d3
@ -462,6 +462,11 @@ namespace hgl
|
||||
|
||||
public:
|
||||
|
||||
AutoDelete()
|
||||
{
|
||||
obj=nullptr;
|
||||
}
|
||||
|
||||
AutoDelete(T *o)
|
||||
{
|
||||
obj=o;
|
||||
|
Loading…
x
Reference in New Issue
Block a user