Skip to content

Commit b480345

Browse files
authored
Merge pull request #7399 from bob-wilson/succ-iter-bug
2 parents 49d134f + c24c995 commit b480345

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/swift/SIL/SILSuccessor.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ class SILSuccessorIterator {
8888

8989
SILSuccessorIterator operator++(int) {
9090
SILSuccessorIterator copy = *this;
91-
++copy;
91+
++*this;
9292
return copy;
9393
}
9494

0 commit comments

Comments
 (0)