updated swallow_assign constness bug

[SVN r20520]
This commit is contained in:
Joel de Guzman
2003-10-28 09:42:43 +00:00
parent 9734556efe
commit ad29f96e5b
2 changed files with 2 additions and 2 deletions

View File

@ -581,7 +581,7 @@ namespace detail {
struct swallow_assign { struct swallow_assign {
template<typename T> template<typename T>
swallow_assign& operator=(const T&) { swallow_assign const& operator=(const T&) const {
return *this; return *this;
} }
}; };

View File

@ -96,7 +96,7 @@ namespace tuples {
struct swallow_assign struct swallow_assign
{ {
template<typename T> template<typename T>
swallow_assign& operator=(const T&) swallow_assign const& operator=(const T&) const
{ {
return *this; return *this;
} }