Skip to content

Commit f55db69

Browse files
authored
Merge pull request #62762 from apple/egorzhdan/cxx-iterator-test-typo
[cxx-interop] Fix typo in `test/Interop/Cxx/stdlib/overlay/Inputs/custom-iterator.h`
2 parents 7214650 + 623bfb1 commit f55db69

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/Interop/Cxx/stdlib/overlay/Inputs/custom-iterator.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -485,7 +485,7 @@ struct TemplatedIterator {
485485
return *this;
486486
}
487487
TemplatedIterator operator++(int) {
488-
auto tmp = ConstIterator(value);
488+
auto tmp = TemplatedIterator(value);
489489
value++;
490490
return tmp;
491491
}
@@ -496,4 +496,4 @@ struct TemplatedIterator {
496496

497497
using TemplatedIteratorInt = TemplatedIterator<int>;
498498

499-
#endif // TEST_INTEROP_CXX_STDLIB_INPUTS_CUSTOM_ITERATOR_H
499+
#endif // TEST_INTEROP_CXX_STDLIB_INPUTS_CUSTOM_ITERATOR_H

0 commit comments

Comments
 (0)