diff options
author | Maxim Pimenov <m@maps.me> | 2018-09-14 15:37:16 +0300 |
---|---|---|
committer | Vlad Mihaylenko <vxmihaylenko@gmail.com> | 2018-09-14 18:15:43 +0300 |
commit | 2d78206ee8b3ad56f87af95838899535025905fe (patch) | |
tree | 2877939fdff25b4a032012fd28025da184eec54e /base | |
parent | e78e3f6fdc1ca356168422e8babf317d668f9ef2 (diff) |
[routing] Fixed the build.
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 4ad67bed8a..9bd98c991e 100644 --- a/base/stl_helpers.hpp +++ b/base/stl_helpers.hpp @@ -159,7 +159,7 @@ impl::Equals<false, T, C> EqualsBy(T (C::*p)() const) } template <typename T> -constexpr std::underlying_type_t<T> Key(T value) +std::underlying_type_t<T> constexpr Key(T value) { return static_cast<std::underlying_type_t<T>>(value); } |