diff options
author | gatecat <gatecat@ds0.me> | 2021-06-03 09:04:34 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-03 09:04:34 +0100 |
commit | a3d8b4f9d198226ec0903e34a8d290b376b45c0b (patch) | |
tree | ada2c6a5d48e766fa523e633aaa28179baea3273 /gui/treemodel.h | |
parent | 589ca8ded5da2012e4388a3ec4c8fae74dff75e4 (diff) | |
parent | dcbb322447a7fb59cabe197ec1dd2307acfa3681 (diff) | |
download | nextpnr-a3d8b4f9d198226ec0903e34a8d290b376b45c0b.tar.gz nextpnr-a3d8b4f9d198226ec0903e34a8d290b376b45c0b.tar.bz2 nextpnr-a3d8b4f9d198226ec0903e34a8d290b376b45c0b.zip |
Merge pull request #718 from YosysHQ/gatecat/hashlib
Moving from unordered_{map, set} to hashlib
Diffstat (limited to 'gui/treemodel.h')
-rw-r--r-- | gui/treemodel.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gui/treemodel.h b/gui/treemodel.h index e9c42a0f..e2692f3e 100644 --- a/gui/treemodel.h +++ b/gui/treemodel.h @@ -140,7 +140,7 @@ class IdList : public Item private: // Children that we manage the memory for, stored for quick lookup from // IdString to child. - std::unordered_map<IdStringList, std::unique_ptr<IdStringItem>> managed_; + dict<IdStringList, std::unique_ptr<IdStringItem>> managed_; // Type of children that the list creates. ElementType child_type_; @@ -184,7 +184,7 @@ template <typename ElementT> class ElementList : public Item ElementGetter getter_; // Children that we manage the memory for, stored for quick lookup from // IdString to child. - std::unordered_map<IdStringList, std::unique_ptr<Item>> managed_; + dict<IdStringList, std::unique_ptr<Item>> managed_; // Type of children that he list creates. ElementType child_type_; |