mirror of
https://github.com/simdjson/simdjson
synced 2026-06-08 17:27:07 +00:00
a7c95e9cc8
The issue was that we were calling m_parser.iterate() after moving the parser, which could leave it in an invalid state. In C++20, this might behave differently than C++17. Fixed by reordering the member initializer list to call parser.iterate() BEFORE moving the parser into m_parser. This ensures the document is created while the parser is still valid. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>