mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-03-05 00:02:37 +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_CACHE_CHECK(for C++ \"using\" keyword,
|
||||||
ac_cv_cpp_using,
|
ac_cv_cpp_using,
|
||||||
[AC_TRY_COMPILE(class X {
|
[AC_TRY_COMPILE(class X { public: int go(const X&) {return 3;} };
|
||||||
public: int go(const X&) {return 3;}
|
|
||||||
int jo(const X&) {return 3;}
|
|
||||||
};
|
|
||||||
class Y : public X {
|
class Y : public X {
|
||||||
public: int go(int) {return 2;}
|
public: int go(int) {return 2;}
|
||||||
int jo(int) {return 2;}
|
|
||||||
using X::jo;
|
|
||||||
private: using X::go;
|
private: using X::go;
|
||||||
};,
|
};,
|
||||||
X x; Y y; y.jo(x);,
|
X x; Y y;,
|
||||||
ac_cv_cpp_using=yes,
|
ac_cv_cpp_using=yes,
|
||||||
ac_cv_cpp_using=no)])
|
ac_cv_cpp_using=no)])
|
||||||
if test "$ac_cv_cpp_using" = yes ; then
|
if test "$ac_cv_cpp_using" = yes ; then
|
||||||
|
Loading…
x
Reference in New Issue
Block a user