From ed30a7ca6a462e2abe3b7f48f7f6da5a9795f691 Mon Sep 17 00:00:00 2001 From: Kohei Takahashi Date: Mon, 27 Jul 2015 13:12:46 +0900 Subject: [PATCH] Fix issue 11140 --- include/boost/fusion/tuple/detail/tuple.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/boost/fusion/tuple/detail/tuple.hpp b/include/boost/fusion/tuple/detail/tuple.hpp index f9270687..9ed91121 100644 --- a/include/boost/fusion/tuple/detail/tuple.hpp +++ b/include/boost/fusion/tuple/detail/tuple.hpp @@ -52,7 +52,7 @@ namespace boost { namespace fusion : base_type() {} BOOST_FUSION_GPU_ENABLED tuple(tuple const& rhs) - : base_type(rhs) {} + : base_type(static_cast(rhs)) {} template BOOST_FUSION_GPU_ENABLED @@ -72,7 +72,7 @@ namespace boost { namespace fusion BOOST_FUSION_GPU_ENABLED tuple& operator=(tuple const& rhs) { - base_type::operator=(rhs); + base_type::operator=(static_cast(rhs)); return *this; }