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_generic_vector_array.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_generic_vector_array.hh')
-rw-r--r--source/blender/functions/FN_generic_vector_array.hh2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/functions/FN_generic_vector_array.hh b/source/blender/functions/FN_generic_vector_array.hh
index 1c8f74f2abe..6be1b68da4d 100644
--- a/source/blender/functions/FN_generic_vector_array.hh
+++ b/source/blender/functions/FN_generic_vector_array.hh
@@ -167,7 +167,7 @@ template<typename T> class GVectorArrayRef {
public:
GVectorArrayRef(GVectorArray &vector_array) : m_vector_array(&vector_array)
{
- BLI_assert(vector_array.m_type == CPPType::get<T>());
+ BLI_assert(vector_array.m_type.is<T>());
}
void append(uint index, const T &value)