Fix issue 11140

This commit is contained in:
Kohei Takahashi
2015-07-27 13:12:46 +09:00
parent 2f6e162a7e
commit ed30a7ca6a

View File

@ -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<base_type const&>(rhs)) {}
template <typename U1, typename U2>
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<base_type const&>(rhs));
return *this;
}