mirror of
https://github.com/boostorg/tuple.git
synced 2026-04-29 10:13:33 +02:00
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