diff options
author | Razik Mazilya <trobichaux1998@gmail.com> | 2023-07-12 00:16:56 -0500 |
---|---|---|
committer | Razik Mazilya <trobichaux1998@gmail.com> | 2023-07-12 00:16:56 -0500 |
commit | e543fe5ef0358bbc25bd9acdde971919a1c14f1a (patch) | |
tree | 8d806f10225f5e078bafd36843d88a4cfaf119f1 /source/core/StarHash.hpp | |
parent | 87f0e493410b3ace90a95513e44e67fcf86c215a (diff) |
Change Star::hash defintion to work around LLVM oddity
Diffstat (limited to 'source/core/StarHash.hpp')
-rw-r--r-- | source/core/StarHash.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/core/StarHash.hpp b/source/core/StarHash.hpp index 0e3f67c..7ad942f 100644 --- a/source/core/StarHash.hpp +++ b/source/core/StarHash.hpp @@ -73,7 +73,7 @@ public: }; template <typename EnumType> -class hash<EnumType, typename std::enable_if<std::is_enum<EnumType>::value>::type> { +struct hash<EnumType, typename std::enable_if<std::is_enum<EnumType>::value>::type> { private: typedef typename std::underlying_type<EnumType>::type UnderlyingType; |