mirror of
https://github.com/simdjson/simdjson
synced 2026-06-08 17:27:07 +00:00
Fix member initialization order warning in auto_parser
The compiler was warning about member initialization order mismatch. C++ initializes members in the order they are declared in the class, not the order they appear in the initializer list. Fixed by reordering member declarations to match the initialization order needed: m_doc must be initialized before m_parser since we need to call parser.iterate() before moving the parser. This fixes the -Werror=reorder compilation error in CI. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
/* auto-generated on 2025-08-03 18:12:50 +0000. Do not edit! */
|
||||
/* auto-generated on 2025-08-03 18:36:14 +0000. Do not edit! */
|
||||
/* including simdjson.cpp: */
|
||||
/* begin file simdjson.cpp */
|
||||
#define SIMDJSON_SRC_SIMDJSON_CPP
|
||||
|
||||
Reference in New Issue
Block a user