Added Ref<T>::instance()
parent
7dde412e26
commit
74e3b4ae23
|
@ -162,6 +162,11 @@ public:
|
|||
reference = nullptr;
|
||||
}
|
||||
|
||||
void instance()
|
||||
{
|
||||
ref(new T);
|
||||
}
|
||||
|
||||
Ref()
|
||||
{
|
||||
reference = nullptr;
|
||||
|
|
Loading…
Reference in New Issue