Skip to content

Commit

Permalink
Fixed an error in the Custom data source example. (#4335)
Browse files Browse the repository at this point in the history
  • Loading branch information
philip-paul-mueller committed Apr 8, 2024
1 parent 199dea1 commit 16b3d84
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -385,7 +385,7 @@ struct MyIterator {
using iterator_category = std::input_iterator_tag;
MyIterator& operator++() {
MyContainer.advance();
target->advance();
return *this;
}
Expand All @@ -394,7 +394,7 @@ struct MyIterator {
}
reference operator*() const {
return target.get_current();
return target->get_current();
}
MyContainer* target = nullptr;
Expand Down

0 comments on commit 16b3d84

Please sign in to comment.