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:
authorCampbell Barton <campbell@blender.org>2022-06-01 08:06:21 +0300
committerCampbell Barton <campbell@blender.org>2022-06-01 08:38:48 +0300
commit0f29f2c3e630a9f092bf02fd4669d27aef4b5921 (patch)
treeaad267315a6ab21fa90713044923a29ba8701ae0 /source/blender/blenkernel/BKE_attribute_access.hh
parent44bac4c8ccf19cb5941435115b8f89a9d14e9c23 (diff)
Cleanup: remove redundant const qualifiers for scalar & enum types
Diffstat (limited to 'source/blender/blenkernel/BKE_attribute_access.hh')
-rw-r--r--source/blender/blenkernel/BKE_attribute_access.hh8
1 files changed, 3 insertions, 5 deletions
diff --git a/source/blender/blenkernel/BKE_attribute_access.hh b/source/blender/blenkernel/BKE_attribute_access.hh
index d7826a0e17a..fef91d6f75d 100644
--- a/source/blender/blenkernel/BKE_attribute_access.hh
+++ b/source/blender/blenkernel/BKE_attribute_access.hh
@@ -376,7 +376,7 @@ class CustomDataAttributes {
* value for the type will be used.
*/
blender::GVArray get_for_read(const AttributeIDRef &attribute_id,
- const eCustomDataType data_type,
+ eCustomDataType data_type,
const void *default_value) const;
template<typename T>
@@ -389,10 +389,8 @@ class CustomDataAttributes {
}
std::optional<blender::GMutableSpan> get_for_write(const AttributeIDRef &attribute_id);
- bool create(const AttributeIDRef &attribute_id, const eCustomDataType data_type);
- bool create_by_move(const AttributeIDRef &attribute_id,
- const eCustomDataType data_type,
- void *buffer);
+ bool create(const AttributeIDRef &attribute_id, eCustomDataType data_type);
+ bool create_by_move(const AttributeIDRef &attribute_id, eCustomDataType data_type, void *buffer);
bool remove(const AttributeIDRef &attribute_id);
/**