mirror of
https://github.com/YosysHQ/yosys.git
synced 2026-08-29 01:24:25 +02:00
Minor hashlib bugfix
This commit is contained in:
+1
-1
@@ -156,7 +156,7 @@ struct hash_obj_ops {
|
||||
}
|
||||
template<typename T>
|
||||
static inline unsigned int hash(const T *a) {
|
||||
return a->hash();
|
||||
return a ? a->hash() : 0;
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user