From 0f29f2c3e630a9f092bf02fd4669d27aef4b5921 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Wed, 1 Jun 2022 15:06:21 +1000 Subject: Cleanup: remove redundant const qualifiers for scalar & enum types --- source/blender/blenkernel/BKE_geometry_set.hh | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'source/blender/blenkernel/BKE_geometry_set.hh') diff --git a/source/blender/blenkernel/BKE_geometry_set.hh b/source/blender/blenkernel/BKE_geometry_set.hh index 04e467b2ff1..8d658c9be15 100644 --- a/source/blender/blenkernel/BKE_geometry_set.hh +++ b/source/blender/blenkernel/BKE_geometry_set.hh @@ -157,7 +157,7 @@ class GeometryComponent { /** Returns true when the attribute has been created. */ bool attribute_try_create(const blender::bke::AttributeIDRef &attribute_id, eAttrDomain domain, - const eCustomDataType data_type, + eCustomDataType data_type, const AttributeInit &initializer); /** @@ -183,7 +183,7 @@ class GeometryComponent { */ blender::GVArray attribute_try_get_for_read(const blender::bke::AttributeIDRef &attribute_id, eAttrDomain domain, - const eCustomDataType data_type) const; + eCustomDataType data_type) const; /** * Get a virtual array that refers to the data of an attribute, interpolated to the given domain. @@ -199,7 +199,7 @@ class GeometryComponent { * cannot be converted. */ blender::bke::ReadAttributeLookup attribute_try_get_for_read( - const blender::bke::AttributeIDRef &attribute_id, const eCustomDataType data_type) const; + const blender::bke::AttributeIDRef &attribute_id, eCustomDataType data_type) const; /** * Get a virtual array that refers to the data of an attribute, interpolated to the given domain @@ -208,7 +208,7 @@ class GeometryComponent { */ blender::GVArray attribute_get_for_read(const blender::bke::AttributeIDRef &attribute_id, eAttrDomain domain, - const eCustomDataType data_type, + eCustomDataType data_type, const void *default_value = nullptr) const; /* Use instead of the method above when the type is known at compile time for type safety. */ template @@ -235,7 +235,7 @@ class GeometryComponent { blender::bke::OutputAttribute attribute_try_get_for_output( const blender::bke::AttributeIDRef &attribute_id, eAttrDomain domain, - const eCustomDataType data_type, + eCustomDataType data_type, const void *default_value = nullptr); /* Use instead of the method above when the type is known at compile time for type safety. */ template @@ -258,7 +258,7 @@ class GeometryComponent { blender::bke::OutputAttribute attribute_try_get_for_output_only( const blender::bke::AttributeIDRef &attribute_id, eAttrDomain domain, - const eCustomDataType data_type); + eCustomDataType data_type); /* Use instead of the method above when the type is known at compile time for type safety. */ template blender::bke::OutputAttribute_Typed attribute_try_get_for_output_only( -- cgit v1.2.3