[Bf-blender-cvs] [2edb342] master: Fix for Clang type check

Campbell Barton noreply at git.blender.org
Tue Apr 28 11:00:43 CEST 2015


Commit: 2edb342ffad63aa6ff37b852a0d40366254639ff
Author: Campbell Barton
Date:   Tue Apr 28 18:48:41 2015 +1000
Branches: master
https://developer.blender.org/rB2edb342ffad63aa6ff37b852a0d40366254639ff

Fix for Clang type check

===================================================================

M	source/blender/bmesh/bmesh_class.h

===================================================================

diff --git a/source/blender/bmesh/bmesh_class.h b/source/blender/bmesh/bmesh_class.h
index 10048a1..ada0fab 100644
--- a/source/blender/bmesh/bmesh_class.h
+++ b/source/blender/bmesh/bmesh_class.h
@@ -263,7 +263,9 @@ enum {
 
 #define _BM_GENERIC_TYPE_ELEM_CONST \
 	const void *, const BMVert *, const BMEdge *, const BMLoop *, const BMFace *, \
-	const BMElem *, const BMElemF *, const BMHeader *
+	const BMElem *, const BMElemF *, const BMHeader *, \
+	void * const, BMVert * const, BMEdge * const, BMLoop * const, BMFace * const, \
+	BMElem * const, BMElemF * const, BMHeader * const
 
 #define BM_CHECK_TYPE_ELEM_CONST(ele) \
 	CHECK_TYPE_ANY(ele, _BM_GENERIC_TYPES_CONST)




More information about the Bf-blender-cvs mailing list