Core/ObjectRef: Remove static_assert
Former-commit-id: 5050ce7a786053725d7e18fcc943bfb2ce3fee69
This commit is contained in:
parent
9a7c356f75
commit
1398ed7ebc
|
|
@ -14,8 +14,6 @@
|
|||
template<typename T>
|
||||
class NzObjectRef
|
||||
{
|
||||
static_assert(std::is_base_of<NzRefCounted, T>::value, "ObjectRef shall only be used with RefCounted-derived type");
|
||||
|
||||
public:
|
||||
NzObjectRef();
|
||||
NzObjectRef(T* object);
|
||||
|
|
|
|||
Loading…
Reference in New Issue