From 6be648ccfd6204375f1566720ab33f1e31e1629f Mon Sep 17 00:00:00 2001 From: Peter Dimov Date: Wed, 7 Dec 2022 18:17:37 +0200 Subject: [PATCH] Use narrowing to size_t in mp_drop --- include/boost/mp11/algorithm.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/boost/mp11/algorithm.hpp b/include/boost/mp11/algorithm.hpp index aeeec85..60987a8 100644 --- a/include/boost/mp11/algorithm.hpp +++ b/include/boost/mp11/algorithm.hpp @@ -291,7 +291,7 @@ template using mp_product_q = typename detail::mp_product_i namespace detail { -template struct mp_drop_impl; +template struct mp_drop_impl; template class L, class... T, template class L2, class... U> struct mp_drop_impl, L2, mp_true> { @@ -306,7 +306,7 @@ template class L, class... T, template class L2, cl template using mp_drop_c = typename detail::mp_drop_impl, N>, mp_bool::value>>::type; -template using mp_drop = mp_drop_c; +template using mp_drop = mp_drop_c; // mp_from_sequence namespace detail