diff options
author | Jeroen Bakker <jeroen@blender.org> | 2021-03-29 09:04:58 +0300 |
---|---|---|
committer | Jeroen Bakker <jeroen@blender.org> | 2021-03-29 09:04:58 +0300 |
commit | 9975af5ffa7566ff7542620c48c11f7687b9c42b (patch) | |
tree | 32333ef3c405b90078e4c4ac65bc113ee6e30553 /source/blender | |
parent | 805d9478109e76ca221f202ff152bae685f77ff4 (diff) |
Cleanup: Add `override` Keyword.
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/compositor/nodes/COM_AntiAliasingNode.h | 2 | ||||
-rw-r--r-- | source/blender/compositor/operations/COM_SMAAOperation.h | 20 |
2 files changed, 11 insertions, 11 deletions
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 |