forked from boostorg/fusion
Merge pull request #92 from Flast/bugfix/issue-11140
Fix a issue with nested fusion::tuple.
This commit is contained in:
commit
b1bb9921e2
3 files changed
+22
-2
No files matched your search
@@ -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