nlohmann / json

JSON for Modern C++
https://json.nlohmann.me
MIT License
41.25k stars 6.57k forks source link

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

Closed philip-paul-mueller closed 2 months ago

philip-paul-mueller commented 2 months ago

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.

nlohmann commented 2 months ago

Thanks!