updated swallow_assign constness bug

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

No files matched your search

+1 -1
View File
@@ -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;
}