[Bf-blender-cvs] [47bdc4dd2a7] temp-unified-collections: Cleanup: remove ignored const

Campbell Barton noreply at git.blender.org
Wed May 16 09:37:24 CEST 2018


Commit: 47bdc4dd2a7f498387d62b64089c3352e6ec8895
Author: Campbell Barton
Date:   Wed May 16 09:37:00 2018 +0200
Branches: temp-unified-collections
https://developer.blender.org/rB47bdc4dd2a7f498387d62b64089c3352e6ec8895

Cleanup: remove ignored const

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

M	source/blender/blenkernel/BKE_collection.h
M	source/blender/blenkernel/intern/collection.c

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

diff --git a/source/blender/blenkernel/BKE_collection.h b/source/blender/blenkernel/BKE_collection.h
index a08b3dbc315..56e3565fba1 100644
--- a/source/blender/blenkernel/BKE_collection.h
+++ b/source/blender/blenkernel/BKE_collection.h
@@ -95,7 +95,7 @@ void BKE_collection_handle_recalc_and_update(struct Depsgraph *depsgraph, struct
 
 /* Object list cache. */
 
-const struct ListBase BKE_collection_object_cache_get(struct Collection *collection);
+struct ListBase BKE_collection_object_cache_get(struct Collection *collection);
 void BKE_collection_object_cache_free(struct Collection *collection);
 
 struct Base *BKE_collection_or_layer_objects(struct Depsgraph *depsgraph,
diff --git a/source/blender/blenkernel/intern/collection.c b/source/blender/blenkernel/intern/collection.c
index a6a871eb97e..5ba4a1196b8 100644
--- a/source/blender/blenkernel/intern/collection.c
+++ b/source/blender/blenkernel/intern/collection.c
@@ -359,7 +359,7 @@ static void collection_object_cache_fill(ListBase *lb, Collection *collection, i
 	}
 }
 
-const ListBase BKE_collection_object_cache_get(Collection *collection)
+ListBase BKE_collection_object_cache_get(Collection *collection)
 {
 	if (!(collection->flag & COLLECTION_HAS_OBJECT_CACHE)) {
 		static ThreadMutex cache_lock = BLI_MUTEX_INITIALIZER;



More information about the Bf-blender-cvs mailing list