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:
authorJeroen Bakker <jeroen@blender.org>2021-03-15 10:34:33 +0300
committerJeroen Bakker <jeroen@blender.org>2021-03-15 10:34:33 +0300
commit4ecd47de6b0d489be3c6cf183c3a0173a9495031 (patch)
tree7768f2c4d98c8a2b8a7856bd4ffaa02dc3ff7c09 /source/blender/blenkernel/intern/geometry_component_mesh.cc
parent2939251a05c29b6462065394714a79195d067029 (diff)
Cleanup: clang modernize-use-override errors.
Diffstat (limited to 'source/blender/blenkernel/intern/geometry_component_mesh.cc')
-rw-r--r--source/blender/blenkernel/intern/geometry_component_mesh.cc10
1 files changed, 5 insertions, 5 deletions
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;
}