diff --git a/include/Nazara/Core/HandledObject.inl b/include/Nazara/Core/HandledObject.inl index 8f1e497a0..6addf9c77 100644 --- a/include/Nazara/Core/HandledObject.inl +++ b/include/Nazara/Core/HandledObject.inl @@ -61,7 +61,7 @@ namespace Nz template ObjectHandle HandledObject::CreateHandle() { - static_assert(std::is_base_of_v, "Cannot retrieve a handle for a non-related class"); + static_assert(std::is_base_of::value, "Cannot retrieve a handle for a non-related class"); return ObjectHandle(static_cast(this)); } diff --git a/include/Nazara/Core/ObjectHandle.inl b/include/Nazara/Core/ObjectHandle.inl index 1a3d09b9b..be3ec5c0c 100644 --- a/include/Nazara/Core/ObjectHandle.inl +++ b/include/Nazara/Core/ObjectHandle.inl @@ -31,7 +31,7 @@ namespace Nz ObjectHandle::ObjectHandle(const ObjectHandle& ref) : m_handleData(ref.m_handleData) { - static_assert(std::is_base_of_v, "Can only implicitly convert from a derived to a base"); + static_assert(std::is_base_of::value, "Can only implicitly convert from a derived to a base"); } template @@ -41,7 +41,7 @@ namespace Nz { ref.m_handleData = Detail::HandleData::GetEmptyObject(); - static_assert(std::is_base_of_v, "Can only implicitly convert from a derived to a base"); + static_assert(std::is_base_of::value, "Can only implicitly convert from a derived to a base"); } /*!