Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJacques Lucke <jacques@blender.org>2020-06-27 14:28:26 +0300
committerJacques Lucke <jacques@blender.org>2020-06-27 14:28:46 +0300
commit235015910133aaa50f8398680357af4a92e12778 (patch)
tree98756bfb123234bf68c3d5546e63668813f408c8 /source/blender/functions/FN_array_spans.hh
parent563670ff9e7421abc87095dab78e89ef23499253 (diff)
Cleanup: make it easier to check if a CPPType is a specific compile time type
Diffstat (limited to 'source/blender/functions/FN_array_spans.hh')
-rw-r--r--source/blender/functions/FN_array_spans.hh2
1 files changed, 1 insertions, 1 deletions
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<void> {
template<typename T> VArraySpan<T> typed() const
{
- BLI_assert(CPPType::get<T>() == *m_type);
+ BLI_assert(m_type->is<T>());
return VArraySpan<T>(*this);
}