Change Star::hash defintion to work around LLVM oddity

This commit is contained in:
Razik Mazilya 2023-07-12 00:16:56 -05:00
parent 87f0e49341
commit e543fe5ef0

View File

@ -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;