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-29 09:04:58 +0300
committerJeroen Bakker <jeroen@blender.org>2021-03-29 09:04:58 +0300
commit9975af5ffa7566ff7542620c48c11f7687b9c42b (patch)
tree32333ef3c405b90078e4c4ac65bc113ee6e30553 /source/blender
parent805d9478109e76ca221f202ff152bae685f77ff4 (diff)
Cleanup: Add `override` Keyword.
Diffstat (limited to 'source/blender')
-rw-r--r--source/blender/compositor/nodes/COM_AntiAliasingNode.h2
-rw-r--r--source/blender/compositor/operations/COM_SMAAOperation.h20
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