From 235015910133aaa50f8398680357af4a92e12778 Mon Sep 17 00:00:00 2001 From: Jacques Lucke Date: Sat, 27 Jun 2020 13:28:26 +0200 Subject: Cleanup: make it easier to check if a CPPType is a specific compile time type --- source/blender/functions/FN_array_spans.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/blender/functions/FN_array_spans.hh') diff --git a/source/blender/functions/FN_array_spans.hh b/source/blender/functions/FN_array_spans.hh index fac2ef42c9d..acd3e921b50 100644 --- a/source/blender/functions/FN_array_spans.hh +++ b/source/blender/functions/FN_array_spans.hh @@ -184,7 +184,7 @@ class GVArraySpan : public VArraySpanBase { template VArraySpan typed() const { - BLI_assert(CPPType::get() == *m_type); + BLI_assert(m_type->is()); return VArraySpan(*this); } -- cgit v1.2.3