diff options
Diffstat (limited to 'common/idstringlist.h')
-rw-r--r-- | common/idstringlist.h | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/common/idstringlist.h b/common/idstringlist.h index 753b408c..f101ecca 100644 --- a/common/idstringlist.h +++ b/common/idstringlist.h @@ -80,18 +80,4 @@ struct IdStringList NEXTPNR_NAMESPACE_END -namespace std { -template <> struct hash<NEXTPNR_NAMESPACE_PREFIX IdStringList> -{ - std::size_t operator()(const NEXTPNR_NAMESPACE_PREFIX IdStringList &obj) const noexcept - { - std::size_t seed = 0; - boost::hash_combine(seed, hash<size_t>()(obj.size())); - for (auto &id : obj) - boost::hash_combine(seed, hash<NEXTPNR_NAMESPACE_PREFIX IdString>()(id)); - return seed; - } -}; -} // namespace std - #endif /* IDSTRING_LIST_H */ |