|
@@ -247,10 +247,14 @@ private:
|
|
|
}
|
|
|
|
|
|
Hash fullHash(int key) const {
|
|
|
+ static_assert(sizeof(key) == sizeof(Hash),
|
|
|
+ "unwanted loose of precision in hash");
|
|
|
return key;
|
|
|
}
|
|
|
|
|
|
Hash fullHash(unsigned int key) const {
|
|
|
+ static_assert(sizeof(key) == sizeof(Hash),
|
|
|
+ "unwanted loose of precision in hash");
|
|
|
return key;
|
|
|
}
|
|
|
|