Closed manup closed 3 months ago
The underlying std::vector<> can invalidate pointers into it when it gets resized due dynamically added JSON items.
This has shown to cause SEGV.
By using indices instead of pointers we always get valid data.
Just for reference and documentation
The underlying std::vector<> can invalidate pointers into it when it gets resized due dynamically added JSON items.
This has shown to cause SEGV.
By using indices instead of pointers we always get valid data.