Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/base
diff options
context:
space:
mode:
authorVladiMihaylenko <vxmihaylenko@gmail.com>2018-04-17 18:33:27 +0300
committerAleksandr Zatsepin <alexzatsepin@users.noreply.github.com>2018-04-25 15:38:50 +0300
commit59777e15a39a29eb2e56248401d386167452b6df (patch)
tree7fec0c809df685d952f63e3bccaf8e5322b484aa /base
parentf3ddef8be0a7d99c7a290d32af583188ab86ba4b (diff)
Added hash specialization for ftypes::IsHotelChecker::Type
Diffstat (limited to 'base')
-rw-r--r--base/stl_helpers.hpp2
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);
}