mirror of
https://github.com/boostorg/fusion.git
synced 2025-07-24 17:47:15 +02:00
Fix issue 11140
This commit is contained in:
@ -52,7 +52,7 @@ namespace boost { namespace fusion
|
|||||||
: base_type() {}
|
: base_type() {}
|
||||||
|
|
||||||
BOOST_FUSION_GPU_ENABLED tuple(tuple const& rhs)
|
BOOST_FUSION_GPU_ENABLED tuple(tuple const& rhs)
|
||||||
: base_type(rhs) {}
|
: base_type(static_cast<base_type const&>(rhs)) {}
|
||||||
|
|
||||||
template <typename U1, typename U2>
|
template <typename U1, typename U2>
|
||||||
BOOST_FUSION_GPU_ENABLED
|
BOOST_FUSION_GPU_ENABLED
|
||||||
@ -72,7 +72,7 @@ namespace boost { namespace fusion
|
|||||||
BOOST_FUSION_GPU_ENABLED
|
BOOST_FUSION_GPU_ENABLED
|
||||||
tuple& operator=(tuple const& rhs)
|
tuple& operator=(tuple const& rhs)
|
||||||
{
|
{
|
||||||
base_type::operator=(rhs);
|
base_type::operator=(static_cast<base_type const&>(rhs));
|
||||||
return *this;
|
return *this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user