Commit: 4ecd47de6b0d489be3c6cf183c3a0173a9495031
Author: Jeroen Bakker
Date: Mon Mar 15 08:34:33 2021 +0100
Branches: master
https://developer.blender.org/rB4ecd47de6b0d489be3c6cf183c3a0173a9495031
Cleanup: clang modernize-use-override errors.
===================================================================
M source/blender/blenkernel/intern/geometry_component_mesh.cc
===================================================================
diff --git a/source/blender/blenkernel/intern/geometry_component_mesh.cc
b/source/blender/blenkernel/intern/geometry_component_mesh.cc
index c6e32c3e8bd..d0c1929816f 100644
--- a/source/blender/blenkernel/intern/geometry_component_mesh.cc
+++ b/source/blender/blenkernel/intern/geometry_component_mesh.cc
@@ -777,7 +777,7 @@ class NormalAttributeProvider final : public
BuiltinAttributeProvider {
{
}
- ReadAttributePtr try_get_for_read(const GeometryComponent &component) const
+ ReadAttributePtr try_get_for_read(const GeometryComponent &component) const
final
{
const MeshComponent &mesh_component = static_cast<const MeshComponent
&>(component);
const Mesh *mesh = mesh_component.get_for_read();
@@ -804,22 +804,22 @@ class NormalAttributeProvider final : public
BuiltinAttributeProvider {
std::move(normals));
}
- WriteAttributePtr try_get_for_write(GeometryComponent &UNUSED(component))
const
+ WriteAttributePtr try_get_for_write(GeometryComponent &UNUSED(component))
const final
{
return {};
}
- bool try_delete(GeometryComponent &UNUSED(component)) const
+ bool try_delete(GeometryComponent &UNUSED(component)) const final
{
return false;
}
- bool try_create(GeometryComponent &UNUSED(component)) const
+ bool try_create(GeometryComponent &UNUSED(component)) const final
{
return false;
}
- bool exists(const GeometryComponent &component) const
+ bool exists(const GeometryComponent &component) const final
{
return component.attribute_domain_size(ATTR_DOMAIN_POLYGON) != 0;
}
_______________________________________________
Bf-blender-cvs mailing list
[email protected]
https://lists.blender.org/mailman/listinfo/bf-blender-cvs