Skip to content

Fixed an error in the Custom data source example.#4335

Merged
nlohmann merged 1 commit intonlohmann:developfrom
philip-paul-mueller:develop
Apr 8, 2024
Merged

Fixed an error in the Custom data source example.#4335
nlohmann merged 1 commit intonlohmann:developfrom
philip-paul-mueller:develop

Conversation

@philip-paul-mueller
Copy link
Contributor

The target member of the MyIterator class was used as if it was a reference, but it is a pointer.
Furthermore, the increment operator used advance() as a static function, which it is not.

Copy link
Owner

@nlohmann nlohmann left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me.

@nlohmann nlohmann added this to the Release 3.11.4 milestone Apr 8, 2024
@nlohmann nlohmann merged commit 16b3d84 into nlohmann:develop Apr 8, 2024
@nlohmann
Copy link
Owner

nlohmann commented Apr 8, 2024

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants