diff options
author | Jeroen Bakker <jeroen@blender.org> | 2021-03-24 17:30:36 +0300 |
---|---|---|
committer | Jeroen Bakker <jeroen@blender.org> | 2021-03-24 19:56:29 +0300 |
commit | e2d362757fb7e2e9d768906d5b4aefc5aaccdf67 (patch) | |
tree | 305864b9f5a58695df610a196f21de873e8ef8d0 /source/blender/compositor/operations/COM_SetValueOperation.h | |
parent | 9ad3d1d36b64f336fabdd9b3d9f02b13740068b0 (diff) |
Cleanup: Add override keyword.
Diffstat (limited to 'source/blender/compositor/operations/COM_SetValueOperation.h')
-rw-r--r-- | source/blender/compositor/operations/COM_SetValueOperation.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/source/blender/compositor/operations/COM_SetValueOperation.h b/source/blender/compositor/operations/COM_SetValueOperation.h index 72cd70ec1f6..b3edb215010 100644 --- a/source/blender/compositor/operations/COM_SetValueOperation.h +++ b/source/blender/compositor/operations/COM_SetValueOperation.h @@ -46,10 +46,11 @@ class SetValueOperation : public NodeOperation { /** * The inner loop of this operation. */ - void executePixelSampled(float output[4], float x, float y, PixelSampler sampler); - void determineResolution(unsigned int resolution[2], unsigned int preferredResolution[2]); + void executePixelSampled(float output[4], float x, float y, PixelSampler sampler) override; + void determineResolution(unsigned int resolution[2], + unsigned int preferredResolution[2]) override; - bool isSetOperation() const + bool isSetOperation() const override { return true; } |