From 3d3bc748849834ef74563deb603ab43859cffeeb Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Fri, 7 Jan 2022 11:38:08 +1100 Subject: Cleanup: remove redundant const qualifiers for POD types MSVC used to warn about const mismatch for arguments passed by value. Remove these as newer versions of MSVC no longer show this warning. --- source/blender/nodes/NOD_geometry_exec.hh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source/blender/nodes/NOD_geometry_exec.hh') diff --git a/source/blender/nodes/NOD_geometry_exec.hh b/source/blender/nodes/NOD_geometry_exec.hh index 2246cc29dc4..7060760237a 100644 --- a/source/blender/nodes/NOD_geometry_exec.hh +++ b/source/blender/nodes/NOD_geometry_exec.hh @@ -328,7 +328,7 @@ class GeoNodeExecParams { */ GVArray get_input_attribute(const StringRef name, const GeometryComponent &component, - const AttributeDomain domain, + AttributeDomain domain, const CustomDataType type, const void *default_value) const; @@ -358,7 +358,7 @@ class GeoNodeExecParams { */ AttributeDomain get_highest_priority_input_domain(Span names, const GeometryComponent &component, - const AttributeDomain default_domain) const; + AttributeDomain default_domain) const; std::string attribute_producer_name() const; -- cgit v1.2.3