Fixx0red several test failures. Hopefully.

[SVN r31532]
This commit is contained in:
Peter Dimov committed 2005-11-01 17:57:15 +00:00
1 parent 35b98458a1
commit 98daeb3ad5
2 files changed
+5 -10

No files matched your search

+3 -8
View File
@@ -328,11 +328,6 @@ private:
return (u.*f_);
}
template<class U> R & call(U & u, T *) const
{
return (u.*f_);
}
template<class U> R const & call(U & u, void const *) const
{
return (get_pointer(u)->*f_);
@@ -352,7 +347,7 @@ public:
return (p->*f_);
}
template<class U> R const & operator()(U & u) const
template<class U> R const & operator()(U const & u) const
{
return call(u, &u);
}
@@ -364,13 +359,13 @@ public:
return (t.*f_);
}
#endif
R const & operator()(T const & t) const
{
return (t.*f_);
}
#endif
bool operator==(dm const & rhs) const
{
return f_ == rhs.f_;