diff options
author | Jeroen Bakker <jeroen@blender.org> | 2021-03-26 17:56:27 +0300 |
---|---|---|
committer | Jeroen Bakker <jeroen@blender.org> | 2021-03-26 18:02:59 +0300 |
commit | 2371454b2da4eab159315b3f1da6b683af9dbe04 (patch) | |
tree | e5466ec312ec0e4dd1b07f5c17fa5e8577b3bd58 /source/blender/compositor/intern/COM_NodeOperation.h | |
parent | 6524ceb8cfa53e2209b73023cfa16d1b58b1247e (diff) |
Cleanup: Replace Methode Overloading With Default Value.
Diffstat (limited to 'source/blender/compositor/intern/COM_NodeOperation.h')
-rw-r--r-- | source/blender/compositor/intern/COM_NodeOperation.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/source/blender/compositor/intern/COM_NodeOperation.h b/source/blender/compositor/intern/COM_NodeOperation.h index 5b9375ae531..b06a453a775 100644 --- a/source/blender/compositor/intern/COM_NodeOperation.h +++ b/source/blender/compositor/intern/COM_NodeOperation.h @@ -238,11 +238,7 @@ class NodeOperation { { return m_outputs.size(); } - NodeOperationOutput *getOutputSocket(unsigned int index); - NodeOperationOutput *getOutputSocket() - { - return getOutputSocket(0); - } + NodeOperationOutput *getOutputSocket(unsigned int index = 0); NodeOperationInput *getInputSocket(unsigned int index); /** Check if this is an input operation |