indexgenerator: Remove unused function

VertexHasher::empty() isn't used; we pass empty key value to the
hash lookup function directly.
This commit is contained in:
Arseny Kapoulkine
2018-05-16 20:18:00 -07:00
parent b6d008216c
commit c19f5dbdea
-5
View File
@@ -35,11 +35,6 @@ struct VertexHasher
const char* vertices;
size_t vertex_size;
unsigned int empty() const
{
return ~0u;
}
size_t operator()(unsigned int index) const
{
return murmurHash(vertices + index * vertex_size, vertex_size, 0);