Enable rule key ordering for grammars

This commit is contained in:
ParthSareen 2024-12-11 17:20:41 -08:00
parent 5555c0c1f6
commit 3b2601d07c

View file

@ -391,7 +391,7 @@ class SchemaConverter {
private:
std::function<json(const std::string &)> _fetch_json;
bool _dotall;
std::map<std::string, std::string> _rules;
std::unordered_map<std::string, std::string> _rules;
std::unordered_map<std::string, json> _refs;
std::unordered_set<std::string> _refs_being_resolved;
std::vector<std::string> _errors;