mirror of git://gcc.gnu.org/git/gcc.git
* libsupc++/exception_ptr.h: Fix compilation in C++0x mode.
From-SVN: r174075
This commit is contained in:
parent
e1caba18c8
commit
dbee8bb3da
|
@ -1,3 +1,7 @@
|
||||||
|
2011-05-23 Jason Merrill <jason@redhat.com>
|
||||||
|
|
||||||
|
* libsupc++/exception_ptr.h: Fix compilation in C++0x mode.
|
||||||
|
|
||||||
2011-05-22 Jonathan Wakely <jwakely.gcc@gmail.com>
|
2011-05-22 Jonathan Wakely <jwakely.gcc@gmail.com>
|
||||||
|
|
||||||
* testsuite/20_util/bind/cv_quals_2.cc: New.
|
* testsuite/20_util/bind/cv_quals_2.cc: New.
|
||||||
|
|
|
@ -97,7 +97,9 @@ namespace std
|
||||||
exception_ptr(exception_ptr&& __o) throw()
|
exception_ptr(exception_ptr&& __o) throw()
|
||||||
: _M_exception_object(__o._M_exception_object)
|
: _M_exception_object(__o._M_exception_object)
|
||||||
{ __o._M_exception_object = 0; }
|
{ __o._M_exception_object = 0; }
|
||||||
#else
|
#endif
|
||||||
|
|
||||||
|
#if !defined (__GXX_EXPERIMENTAL_CXX0X__) || defined (_GLIBCXX_EH_PTR_COMPAT)
|
||||||
typedef void (exception_ptr::*__safe_bool)();
|
typedef void (exception_ptr::*__safe_bool)();
|
||||||
|
|
||||||
// For construction from nullptr or 0.
|
// For construction from nullptr or 0.
|
||||||
|
|
Loading…
Reference in New Issue