mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-14 02:31:59 +00:00
Reverting my changes: I think I may have broken nsCOMPtr comparison with this...
This commit is contained in:
parent
c33c91200d
commit
590dd7628d
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user