From c19f5dbdea7b96decbbf2f4bd753e523a60ee99d Mon Sep 17 00:00:00 2001 From: Arseny Kapoulkine Date: Wed, 16 May 2018 20:18:00 -0700 Subject: [PATCH] indexgenerator: Remove unused function VertexHasher::empty() isn't used; we pass empty key value to the hash lookup function directly. --- src/indexgenerator.cpp | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/indexgenerator.cpp b/src/indexgenerator.cpp index 8fcedb55..43fc9658 100644 --- a/src/indexgenerator.cpp +++ b/src/indexgenerator.cpp @@ -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);