Skip to content

Commit 493ec7d

Browse files
committed
Added missing switch return
1 parent 6e897b9 commit 493ec7d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Generator/Passes/ValidateOperatorsPass.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ private bool IsValidOperatorOverload(Method @operator)
5555
// The conversion operators can be overloaded
5656
case CXXOperatorKind.Conversion:
5757
case CXXOperatorKind.ExplicitConversion:
58+
return true;
5859

5960
// Copy assignment operator is used internally
6061
case CXXOperatorKind.Equal:

0 commit comments

Comments
 (0)