Minor hashlib bugfix

This commit is contained in:
Clifford Wolf 2016-04-16 23:20:11 +02:00
parent 3d9ff912c2
commit a07f893a5f
1 changed files with 1 additions and 1 deletions

View File

@ -156,7 +156,7 @@ struct hash_obj_ops {
} }
template<typename T> template<typename T>
static inline unsigned int hash(const T *a) { static inline unsigned int hash(const T *a) {
return a->hash(); return a ? a->hash() : 0;
} }
}; };