diff --git a/common/json-schema-to-grammar.cpp b/common/json-schema-to-grammar.cpp index dadc18c8b..2a8dbd22d 100644 --- a/common/json-schema-to-grammar.cpp +++ b/common/json-schema-to-grammar.cpp @@ -391,7 +391,7 @@ class SchemaConverter { private: std::function _fetch_json; bool _dotall; - std::map _rules; + std::unordered_map _rules; std::unordered_map _refs; std::unordered_set _refs_being_resolved; std::vector _errors;