From 3533e082a046a4804448633fbccc62acbf4d6611 Mon Sep 17 00:00:00 2001 From: Sergey Sharybin Date: Mon, 4 Dec 2017 15:26:43 +0100 Subject: RNA: Use const qualifier for an utility function --- source/blender/makesrna/RNA_access.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/blender/makesrna/RNA_access.h') diff --git a/source/blender/makesrna/RNA_access.h b/source/blender/makesrna/RNA_access.h index 97fd216b5f5..7e8c860863d 100644 --- a/source/blender/makesrna/RNA_access.h +++ b/source/blender/makesrna/RNA_access.h @@ -1127,7 +1127,7 @@ bool RNA_property_is_set(PointerRNA *ptr, PropertyRNA *prop); void RNA_property_unset(PointerRNA *ptr, PropertyRNA *prop); bool RNA_struct_property_is_set_ex(PointerRNA *ptr, const char *identifier, bool use_ghost); bool RNA_struct_property_is_set(PointerRNA *ptr, const char *identifier); -bool RNA_property_is_idprop(PropertyRNA *prop); +bool RNA_property_is_idprop(const PropertyRNA *prop); bool RNA_property_is_unlink(PropertyRNA *prop); void RNA_struct_property_unset(PointerRNA *ptr, const char *identifier); -- cgit v1.2.3