Skip to content

Commit

Permalink
Fix GCC build.
Browse files Browse the repository at this point in the history
  • Loading branch information
elliottslaughter committed Mar 31, 2024
1 parent 4ab82f8 commit 7f59a5d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/hasher.inl
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
*/

enum HashTypeTag {
LONG_LONG_TYPE_ID,
INT32_T_TYPE_ID,
UINT32_T_TYPE_ID,
INT64_T_TYPE_ID,
Expand Down Expand Up @@ -77,6 +78,7 @@ private:
friend class HashTypeTagAdapter; \
};

DECLARE_TYPE_ADAPTER(long long, LONG_LONG_TYPE_ID)
DECLARE_TYPE_ADAPTER(int32_t, INT32_T_TYPE_ID)
DECLARE_TYPE_ADAPTER(uint32_t, UINT32_T_TYPE_ID)
DECLARE_TYPE_ADAPTER(int64_t, INT64_T_TYPE_ID)
Expand Down Expand Up @@ -122,6 +124,7 @@ private:
friend class HashValueAdapter; \
};

DECLARE_SIMPLE_VALUE_ADAPTER(long long)
DECLARE_SIMPLE_VALUE_ADAPTER(int32_t)
DECLARE_SIMPLE_VALUE_ADAPTER(uint32_t)
DECLARE_SIMPLE_VALUE_ADAPTER(int64_t)
Expand Down

0 comments on commit 7f59a5d

Please sign in to comment.