OSDN Git Service

2009-11-20 Jonathan Wakely <jwakely.gcc@gmail.com>
authorredi <redi@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 20 Nov 2009 21:23:02 +0000 (21:23 +0000)
committerredi <redi@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 20 Nov 2009 21:23:02 +0000 (21:23 +0000)
commitf4e69514afdbc3c399dacd8177caacf1c5c4233d
tree813398e999308911177ac3cbf1b11e8010773138
parent54729ae381011c8923f70368523417b5e283525f
2009-11-20  Jonathan Wakely  <jwakely.gcc@gmail.com>

PR libstdc++/42019
* include/tr1/shared_ptr.h: Only use typeid when RTTI is enabled.
* include/bits/shared_ptr_base.h: Likewise.
* include/bits/shared_ptr.h: Likewise.
* testsuite/tr1/2_general_utilities/shared_ptr/misc/42019.cc: New.
* testsuite/20_util/shared_ptr/misc/42019.cc: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@154377 138bc75d-0d04-0410-961f-82ee72b054a4
libstdc++-v3/ChangeLog
libstdc++-v3/include/bits/shared_ptr.h
libstdc++-v3/include/bits/shared_ptr_base.h
libstdc++-v3/include/tr1/shared_ptr.h
libstdc++-v3/testsuite/20_util/shared_ptr/misc/42019.cc [new file with mode: 0644]
libstdc++-v3/testsuite/tr1/2_general_utilities/shared_ptr/misc/42019.cc [new file with mode: 0644]