Skip to content

Commit

Permalink
Add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
acvictor committed Apr 24, 2024
1 parent f95b502 commit 490c73a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions velox/connectors/hive/FileHandleKey.h
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,8 @@ class FileHandleKey {
template <class T>
inline void hash_combine(std::size_t& seed, const T& v) {
std::hash<T> hasher;
// See boost::hash_combine
// https://www.boost.org/doc/libs/1_55_0/doc/html/hash/reference.html#boost.hash_combine
seed ^= hasher(v) + 0x9e3779b9 + (seed << 6) + (seed >> 2);
}

Expand Down

0 comments on commit 490c73a

Please sign in to comment.