Skip to content

Commit 623bfb1

Browse files
authored
[cxx-interop] Fix typo in test/Interop/Cxx/stdlib/overlay/Inputs/custom-iterator.h
1 parent 60952b8 commit 623bfb1

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)