Fixed a bug that Handle<T> cannot return nullptr
This commit is contained in:
parent
be4a9952ce
commit
b568d7485b
@ -88,7 +88,6 @@ namespace spades {
|
||||
Set(h.ptr, true);
|
||||
}
|
||||
operator T *() {
|
||||
SPAssert(ptr != NULL);
|
||||
return ptr;
|
||||
}
|
||||
T *Unmanage() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user