forked from boostorg/tuple
updated swallow_assign constness bug
[SVN r20520]
This commit is contained in:
@ -581,7 +581,7 @@ namespace detail {
|
||||
struct swallow_assign {
|
||||
|
||||
template<typename T>
|
||||
swallow_assign& operator=(const T&) {
|
||||
swallow_assign const& operator=(const T&) const {
|
||||
return *this;
|
||||
}
|
||||
};
|
||||
|
@ -96,7 +96,7 @@ namespace tuples {
|
||||
struct swallow_assign
|
||||
{
|
||||
template<typename T>
|
||||
swallow_assign& operator=(const T&)
|
||||
swallow_assign const& operator=(const T&) const
|
||||
{
|
||||
return *this;
|
||||
}
|
||||
|
Reference in New Issue
Block a user