Skip to content

Commit

Permalink
Switch : Remove bogus default arg on inputIndex() private method
Browse files Browse the repository at this point in the history
The context is in fact required to be non-null.
  • Loading branch information
johnhaddon committed Dec 8, 2023
1 parent 54d794d commit 3813ff4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/Gaffer/Switch.h
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ class GAFFER_API Switch : public ComputeNode
void childAdded( GraphComponent *child );
void plugSet( Plug *plug );
void plugInputChanged( Plug *plug );
size_t inputIndex( const Context *context = nullptr ) const;
size_t inputIndex( const Context *context ) const;

// Returns the input corresponding to the output and vice versa. Returns null
// if plug is not meaningful to the switching process.
Expand Down

0 comments on commit 3813ff4

Please sign in to comment.