Skip to content

Commit

Permalink
Remove unused typeKindSize function from HashTable.cpp (#2241)
Browse files Browse the repository at this point in the history
Summary: Pull Request resolved: #2241

Reviewed By: pedroerp

Differential Revision: D38555515

Pulled By: mbasmanova

fbshipit-source-id: c8c256b852a770d2cbd7a230ca05d75ebcf47ec4
  • Loading branch information
mbasmanova authored and facebook-github-bot committed Aug 10, 2022
1 parent 0b21160 commit 4a86bd6
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions velox/exec/HashTable.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,15 +23,6 @@

namespace facebook::velox::exec {

template <TypeKind Kind>
static int32_t kindSize() {
return sizeof(typename KindToFlatVector<Kind>::HashRowType);
}

static int32_t typeKindSize(TypeKind kind) {
return VELOX_DYNAMIC_TYPE_DISPATCH(kindSize, kind);
}

template <bool ignoreNullKeys>
HashTable<ignoreNullKeys>::HashTable(
std::vector<std::unique_ptr<VectorHasher>>&& hashers,
Expand Down

0 comments on commit 4a86bd6

Please sign in to comment.