diff options
Diffstat (limited to 'nexus/archdefs.h')
-rw-r--r-- | nexus/archdefs.h | 19 |
1 files changed, 1 insertions, 18 deletions
diff --git a/nexus/archdefs.h b/nexus/archdefs.h index 7e427e06..de5e17c8 100644 --- a/nexus/archdefs.h +++ b/nexus/archdefs.h @@ -114,14 +114,7 @@ struct PipId } }; -struct BelBucketId -{ - IdString name; - - bool operator==(const BelBucketId &other) const { return (name == other.name); } - bool operator!=(const BelBucketId &other) const { return (name != other.name); } - bool operator<(const BelBucketId &other) const { return name < other.name; } -}; +typedef IdString BelBucketId; struct GroupId { @@ -260,14 +253,4 @@ template <> struct hash<NEXTPNR_NAMESPACE_PREFIX DecalId> } }; -template <> struct hash<NEXTPNR_NAMESPACE_PREFIX BelBucketId> -{ - std::size_t operator()(const NEXTPNR_NAMESPACE_PREFIX BelBucketId &bucket) const noexcept - { - std::size_t seed = 0; - boost::hash_combine(seed, hash<NEXTPNR_NAMESPACE_PREFIX IdString>()(bucket.name)); - return seed; - } -}; - } // namespace std |