mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 18:47:34 +00:00
LibJS: Use OrderedHashMap instead of HashMap in the Map built-in
This ensures insertion-order iteration.
This commit is contained in:
parent
f1f00be691
commit
a27fbfd45f
2 changed files with 4 additions and 4 deletions
|
@ -33,7 +33,7 @@ private:
|
|||
Map& m_map;
|
||||
bool m_done { false };
|
||||
Object::PropertyKind m_iteration_kind;
|
||||
HashMap<Value, Value, ValueTraits>::IteratorType m_iterator;
|
||||
OrderedHashMap<Value, Value, ValueTraits>::IteratorType m_iterator;
|
||||
};
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue