[Bf-blender-cvs] [9975af5ffa7] master: Cleanup: Add `override` Keyword.

Jeroen Bakker noreply at git.blender.org
Mon Mar 29 08:12:58 CEST 2021


Commit: 9975af5ffa7566ff7542620c48c11f7687b9c42b
Author: Jeroen Bakker
Date:   Mon Mar 29 08:04:58 2021 +0200
Branches: master
https://developer.blender.org/rB9975af5ffa7566ff7542620c48c11f7687b9c42b

Cleanup: Add `override` Keyword.

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

M	source/blender/compositor/nodes/COM_AntiAliasingNode.h
M	source/blender/compositor/operations/COM_SMAAOperation.h

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

diff --git a/source/blender/compositor/nodes/COM_AntiAliasingNode.h b/source/blender/compositor/nodes/COM_AntiAliasingNode.h
index c0eafc013cc..40ce21544e6 100644
--- a/source/blender/compositor/nodes/COM_AntiAliasingNode.h
+++ b/source/blender/compositor/nodes/COM_AntiAliasingNode.h
@@ -32,7 +32,7 @@ class AntiAliasingNode : public Node {
   AntiAliasingNode(bNode *editorNode) : Node(editorNode)
   {
   }
-  void convertToOperations(NodeConverter &converter, const CompositorContext &context) const;
+  void convertToOperations(NodeConverter &converter, const CompositorContext &context) const override;
 };
 
 #endif
diff --git a/source/blender/compositor/operations/COM_SMAAOperation.h b/source/blender/compositor/operations/COM_SMAAOperation.h
index 8ac6fea6818..dc30bc798ba 100644
--- a/source/blender/compositor/operations/COM_SMAAOperation.h
+++ b/source/blender/compositor/operations/COM_SMAAOperation.h
@@ -75,24 +75,24 @@ class SMAABlendingWeightCalculationOperation : public NodeOperation {
   /**
    * the inner loop of this program
    */
-  void executePixel(float output[4], int x, int y, void *data);
+  void executePixel(float output[4], int x, int y, void *data) override;
 
   /**
    * Initialize the execution
    */
-  void initExecution();
-  void *initializeTileData(rcti *rect);
+  void initExecution() override;
+  void *initializeTileData(rcti *rect) override;
 
   /**
    * Deinitialize the execution
    */
-  void deinitExecution();
+  void deinitExecution() override;
 
   void setCornerRounding(float rounding);
 
   bool determineDependingAreaOfInterest(rcti *input,
                                         ReadBufferOperation *readOperation,
-                                        rcti *output);
+                                        rcti *output) override;
 
  private:
   /* Diagonal Search Functions */
@@ -126,22 +126,22 @@ class SMAANeighborhoodBlendingOperation : public NodeOperation {
   /**
    * the inner loop of this program
    */
-  void executePixel(float output[4], int x, int y, void *data);
+  void executePixel(float output[4], int x, int y, void *data) override;
 
   /**
    * Initialize the execution
    */
-  void initExecution();
-  void *initializeTileData(rcti *rect);
+  void initExecution() override;
+  void *initializeTileData(rcti *rect) override;
 
   /**
    * Deinitialize the execution
    */
-  void deinitExecution();
+  void deinitExecution() override;
 
   bool determineDependingAreaOfInterest(rcti *input,
                                         ReadBufferOperation *readOperation,
-                                        rcti *output);
+                                        rcti *output) override;
 };
 
 #endif



More information about the Bf-blender-cvs mailing list