diff options
author | VladiMihaylenko <vxmihaylenko@gmail.com> | 2018-04-17 18:33:27 +0300 |
---|---|---|
committer | Aleksandr Zatsepin <alexzatsepin@users.noreply.github.com> | 2018-04-25 15:38:50 +0300 |
commit | 59777e15a39a29eb2e56248401d386167452b6df (patch) | |
tree | 7fec0c809df685d952f63e3bccaf8e5322b484aa /base | |
parent | f3ddef8be0a7d99c7a290d32af583188ab86ba4b (diff) |
Added hash specialization for ftypes::IsHotelChecker::Type
Diffstat (limited to 'base')
-rw-r--r-- | base/stl_helpers.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/base/stl_helpers.hpp b/base/stl_helpers.hpp index 2c24a01407..7296daabc9 100644 --- a/base/stl_helpers.hpp +++ b/base/stl_helpers.hpp @@ -135,7 +135,7 @@ impl::Equals<false, T, C> EqualsBy(T (C::*p)() const) } template <typename T> -std::underlying_type_t<T> Key(T value) +constexpr std::underlying_type_t<T> Key(T value) { return static_cast<std::underlying_type_t<T>>(value); } |