diff options
| author | Marshall Clow <mclow.lists@gmail.com> | 2017-01-10 18:40:01 +0000 |
|---|---|---|
| committer | Marshall Clow <mclow.lists@gmail.com> | 2017-01-10 18:40:01 +0000 |
| commit | 3a6474ecbba47ae8916f2d8e48d2b098055b93d7 (patch) | |
| tree | 8910173e1855ef451916d1076c379ce0e1184750 /libcxx/include | |
| parent | da681187299f90b567b0032c2f3e194abe802164 (diff) | |
| download | bcm5719-llvm-3a6474ecbba47ae8916f2d8e48d2b098055b93d7.tar.gz bcm5719-llvm-3a6474ecbba47ae8916f2d8e48d2b098055b93d7.zip | |
Qualify some type names that I thought were fine, but some of the bots don't like.
llvm-svn: 291580
Diffstat (limited to 'libcxx/include')
| -rw-r--r-- | libcxx/include/memory | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/libcxx/include/memory b/libcxx/include/memory index 588b3ce10b4..2a25f0ecb50 100644 --- a/libcxx/include/memory +++ b/libcxx/include/memory @@ -4713,7 +4713,7 @@ inline _LIBCPP_INLINE_VISIBILITY typename enable_if < !is_array<_Yp>::value && - is_convertible<_Yp*, element_type*>::value, + is_convertible<_Yp*, typename shared_ptr<_Tp>::element_type*>::value, shared_ptr<_Tp>& >::type shared_ptr<_Tp>::operator=(auto_ptr<_Yp> __r) @@ -4728,7 +4728,8 @@ inline _LIBCPP_INLINE_VISIBILITY typename enable_if < !is_array<_Yp>::value && - is_convertible<typename unique_ptr<_Yp, _Dp>::pointer, element_type*>::value, + is_convertible<typename unique_ptr<_Yp, _Dp>::pointer, + typename shared_ptr<_Tp>::element_type*>::value, shared_ptr<_Tp>& >::type shared_ptr<_Tp>::operator=(unique_ptr<_Yp, _Dp> __r) |

