mirror of
https://github.com/boostorg/fusion.git
synced 2025-07-23 17:17:23 +02:00
Fix issue 11140
This commit is contained in:
@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user