forked from boostorg/fusion
Fix issue 11140
This commit is contained in:
1 parent
2f6e162a7e
commit
ed30a7ca6a
1 file changed
+2
-2
@@ -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