Change Star::hash defintion to work around LLVM oddity
This commit is contained in:
parent
87f0e49341
commit
e543fe5ef0
@ -73,7 +73,7 @@ public:
|
|||||||
};
|
};
|
||||||
|
|
||||||
template <typename EnumType>
|
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:
|
private:
|
||||||
typedef typename std::underlying_type<EnumType>::type UnderlyingType;
|
typedef typename std::underlying_type<EnumType>::type UnderlyingType;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user