Reverting my changes: I think I may have broken nsCOMPtr comparison with this...

This commit is contained in:
waterson%netscape.com 2000-03-28 00:36:39 +00:00
parent c33c91200d
commit 590dd7628d

View File

@ -2254,17 +2254,12 @@ dnl fi
AC_CACHE_CHECK(for C++ \"using\" keyword,
ac_cv_cpp_using,
[AC_TRY_COMPILE(class X {
public: int go(const X&) {return 3;}
int jo(const X&) {return 3;}
};
[AC_TRY_COMPILE(class X { public: int go(const X&) {return 3;} };
class Y : public X {
public: int go(int) {return 2;}
int jo(int) {return 2;}
using X::jo;
private: using X::go;
};,
X x; Y y; y.jo(x);,
X x; Y y;,
ac_cv_cpp_using=yes,
ac_cv_cpp_using=no)])
if test "$ac_cv_cpp_using" = yes ; then