[Bf-blender-cvs] [d4bca00a47f] master: Cleanup: missing override

Jacques Lucke noreply at git.blender.org
Thu May 13 13:06:59 CEST 2021


Commit: d4bca00a47fdbe73ece897a539f072d33be51480
Author: Jacques Lucke
Date:   Thu May 13 13:06:28 2021 +0200
Branches: master
https://developer.blender.org/rBd4bca00a47fdbe73ece897a539f072d33be51480

Cleanup: missing override

===================================================================

M	source/blender/blenkernel/intern/geometry_component_curve.cc

===================================================================

diff --git a/source/blender/blenkernel/intern/geometry_component_curve.cc b/source/blender/blenkernel/intern/geometry_component_curve.cc
index 97a8129278e..e4417276243 100644
--- a/source/blender/blenkernel/intern/geometry_component_curve.cc
+++ b/source/blender/blenkernel/intern/geometry_component_curve.cc
@@ -578,7 +578,7 @@ template<typename T> class BuiltinPointAttributeProvider : public BuiltinAttribu
   {
   }
 
-  GVArrayPtr try_get_for_read(const GeometryComponent &component) const
+  GVArrayPtr try_get_for_read(const GeometryComponent &component) const override
   {
     const CurveEval *curve = get_curve_from_component_for_read(component);
     if (curve == nullptr) {
@@ -600,7 +600,7 @@ template<typename T> class BuiltinPointAttributeProvider : public BuiltinAttribu
         offsets.last(), std::move(spans), std::move(offsets));
   }
 
-  GVMutableArrayPtr try_get_for_write(GeometryComponent &component) const
+  GVMutableArrayPtr try_get_for_write(GeometryComponent &component) const override
   {
     CurveEval *curve = get_curve_from_component_for_write(component);
     if (curve == nullptr) {



More information about the Bf-blender-cvs mailing list