[Bf-blender-cvs] [dc285bd] ui-preview-buttons: Fix for Clang type check

Campbell Barton noreply at git.blender.org
Tue Apr 28 19:12:52 CEST 2015


Commit: dc285bdd4376f9d2e9f1aff469f521c80fb63893
Author: Campbell Barton
Date:   Tue Apr 28 18:48:41 2015 +1000
Branches: ui-preview-buttons
https://developer.blender.org/rBdc285bdd4376f9d2e9f1aff469f521c80fb63893

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