Skip to content

Commit

Permalink
Update DataColumn classes
Browse files Browse the repository at this point in the history
  • Loading branch information
morzhovets committed Jul 14, 2024
1 parent 5237d9b commit d4207e2
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions include/momo/DataColumn.h
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,15 @@ enum class DataColumnCodeOffset : size_t
{
};

template<>
struct HashCoder<DataColumnCodeOffset, size_t> // c++11
{
size_t operator()(const DataColumnCodeOffset& key) const noexcept
{
return HashCoder<size_t>()(static_cast<size_t>(key));
}
};

namespace internal
{
class StrHasher
Expand Down

0 comments on commit d4207e2

Please sign in to comment.