[libcxx-commits] [PATCH] D80070: Mark shared_ptr::__create_with_control_block as noexcept.

Zoe Carver via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Tue May 19 17:39:43 PDT 2020


This revision was automatically updated to reflect the committed changes.
Closed by commit rG21d4050e2c99: Mark shared_ptr::__create_with_control_block as noexcept. (authored by zoecarver).

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D80070/new/

https://reviews.llvm.org/D80070

Files:
  libcxx/include/memory


Index: libcxx/include/memory
===================================================================
--- libcxx/include/memory
+++ libcxx/include/memory
@@ -3954,7 +3954,7 @@
 
     template<class _Yp, class _CntrlBlk>
     static shared_ptr<_Tp>
-    __create_with_control_block(_Yp* __p, _CntrlBlk* __cntrl)
+    __create_with_control_block(_Yp* __p, _CntrlBlk* __cntrl) _NOEXCEPT
     {
         shared_ptr<_Tp> __r;
         __r.__ptr_ = __p;


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D80070.265099.patch
Type: text/x-patch
Size: 443 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20200520/a970b335/attachment.bin>


More information about the libcxx-commits mailing list