diff options
| author | redi <redi@138bc75d-0d04-0410-961f-82ee72b054a4> | 2013-10-08 12:33:37 +0000 |
|---|---|---|
| committer | redi <redi@138bc75d-0d04-0410-961f-82ee72b054a4> | 2013-10-08 12:33:37 +0000 |
| commit | ea1800c63c53b6e26bf8ed37ce0e445a9ef7ee86 (patch) | |
| tree | 9ae99d30df85db39801dab11898c312ec74fccfe /libjava/classpath/java/sql/CallableStatement.java | |
| parent | 4e57e76d5c759ae66438c3d7003543c2d563aad1 (diff) | |
| download | ppe42-gcc-ea1800c63c53b6e26bf8ed37ce0e445a9ef7ee86.tar.gz ppe42-gcc-ea1800c63c53b6e26bf8ed37ce0e445a9ef7ee86.zip | |
PR libstdc++/58659
* include/bits/shared_ptr_base.h (__shared_count::__shared_count(P,D)):
Delegate to constructor taking allocator.
(__shared_count::_S_create_from_up): Inline into ...
(__shared_count::__shared_count(unique_ptr<Y,D>&&): Here. Use
std::conditional instead of constrained overloads. Allocate memory
using the allocator type that will be used for deallocation.
* testsuite/20_util/shared_ptr/cons/58659.cc: New.
* testsuite/20_util/shared_ptr/cons/43820_neg.cc: Adjust.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@203274 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/classpath/java/sql/CallableStatement.java')
0 files changed, 0 insertions, 0 deletions

