diff options
author | Campbell Barton <campbell@blender.org> | 2022-06-01 08:06:21 +0300 |
---|---|---|
committer | Campbell Barton <campbell@blender.org> | 2022-06-01 08:38:48 +0300 |
commit | 0f29f2c3e630a9f092bf02fd4669d27aef4b5921 (patch) | |
tree | aad267315a6ab21fa90713044923a29ba8701ae0 /source/blender/blenkernel/BKE_geometry_set.hh | |
parent | 44bac4c8ccf19cb5941435115b8f89a9d14e9c23 (diff) |
Cleanup: remove redundant const qualifiers for scalar & enum types
Diffstat (limited to 'source/blender/blenkernel/BKE_geometry_set.hh')
-rw-r--r-- | source/blender/blenkernel/BKE_geometry_set.hh | 12 |
1 files changed, 6 insertions, 6 deletions
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<typename T> @@ -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<typename T> @@ -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<typename T> blender::bke::OutputAttribute_Typed<T> attribute_try_get_for_output_only( |