From 1398ed7ebc4c0f6a7b44b7e924587efb6fa0d441 Mon Sep 17 00:00:00 2001 From: Lynix Date: Thu, 2 Jul 2015 13:01:23 +0200 Subject: [PATCH] Core/ObjectRef: Remove static_assert Former-commit-id: 5050ce7a786053725d7e18fcc943bfb2ce3fee69 --- include/Nazara/Core/ObjectRef.hpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/include/Nazara/Core/ObjectRef.hpp b/include/Nazara/Core/ObjectRef.hpp index 35d016f90..7137eb7ee 100644 --- a/include/Nazara/Core/ObjectRef.hpp +++ b/include/Nazara/Core/ObjectRef.hpp @@ -14,8 +14,6 @@ template class NzObjectRef { - static_assert(std::is_base_of::value, "ObjectRef shall only be used with RefCounted-derived type"); - public: NzObjectRef(); NzObjectRef(T* object);