mirror of
https://github.com/aantron/better-enums.git
synced 2025-12-06 08:46:42 +08:00
Replace tab by spaces
[skip ci]
This commit is contained in:
parent
517387fba0
commit
68ca02d1f5
4
enum.h
4
enum.h
@ -1313,7 +1313,7 @@ BETTER_ENUMS_CONSTEXPR_ map<Enum, T> make_map(T (*f)(Enum))
|
|||||||
}
|
}
|
||||||
|
|
||||||
#define BETTER_ENUMS_DECLARE_STD_HASH(type) \
|
#define BETTER_ENUMS_DECLARE_STD_HASH(type) \
|
||||||
namespace std { \
|
namespace std { \
|
||||||
template <> struct hash<type> \
|
template <> struct hash<type> \
|
||||||
{ \
|
{ \
|
||||||
size_t operator()(const type &x) const \
|
size_t operator()(const type &x) const \
|
||||||
@ -1321,6 +1321,6 @@ BETTER_ENUMS_CONSTEXPR_ map<Enum, T> make_map(T (*f)(Enum))
|
|||||||
return std::hash<size_t>()(x._to_integral()); \
|
return std::hash<size_t>()(x._to_integral()); \
|
||||||
} \
|
} \
|
||||||
}; \
|
}; \
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif // #ifndef BETTER_ENUMS_ENUM_H
|
#endif // #ifndef BETTER_ENUMS_ENUM_H
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user