Skip to content

Commit c0f7552

Browse files
Fabio AndereggJordanL8
authored andcommitted
generate and use copy assignment operator when setting struct/class value properties
1 parent 0ac3bfd commit c0f7552

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/Generator/Passes/ValidateOperatorsPass.cs

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

6059
// Copy assignment operator is used internally
6160
case CXXOperatorKind.Equal:

0 commit comments

Comments
 (0)