summaryrefslogtreecommitdiff
path: root/boost/fusion/tuple/detail/preprocessed/tuple20.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'boost/fusion/tuple/detail/preprocessed/tuple20.hpp')
-rw-r--r--boost/fusion/tuple/detail/preprocessed/tuple20.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/boost/fusion/tuple/detail/preprocessed/tuple20.hpp b/boost/fusion/tuple/detail/preprocessed/tuple20.hpp
index c526fb7e31..73de49ffb8 100644
--- a/boost/fusion/tuple/detail/preprocessed/tuple20.hpp
+++ b/boost/fusion/tuple/detail/preprocessed/tuple20.hpp
@@ -17,7 +17,7 @@ namespace boost { namespace fusion
BOOST_FUSION_GPU_ENABLED tuple()
: base_type() {}
BOOST_FUSION_GPU_ENABLED tuple(tuple const& rhs)
- : base_type(rhs) {}
+ : base_type(static_cast<base_type const&>(rhs)) {}
template <typename U1, typename U2>
BOOST_FUSION_GPU_ENABLED
tuple(std::pair<U1, U2> const& rhs)
@@ -313,7 +313,7 @@ namespace boost { namespace fusion
BOOST_FUSION_GPU_ENABLED
tuple& operator=(tuple const& rhs)
{
- base_type::operator=(rhs);
+ base_type::operator=(static_cast<base_type const&>(rhs));
return *this;
}
template <typename U1, typename U2>