[libcxx-commits] [PATCH] D57351: [libc++] Explicitly initialize std::nothrow

Tom Anderson via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Wed Jan 30 11:09:35 PST 2019


This revision was not accepted when it landed; it landed in state "Needs Review".
This revision was automatically updated to reflect the committed changes.
Closed by commit rCXX352648: [libc++] Explicitly initialize std::nothrow (authored by thomasanderson, committed by ).
Herald added subscribers: libcxx-commits, ldionne.

Repository:
  rCXX libc++

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

https://reviews.llvm.org/D57351

Files:
  src/new.cpp


Index: src/new.cpp
===================================================================
--- src/new.cpp
+++ src/new.cpp
@@ -34,7 +34,7 @@
 {
 
 #ifndef __GLIBCXX__
-const nothrow_t nothrow = {};
+const nothrow_t nothrow{};
 #endif
 
 #ifndef LIBSTDCXX


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D57351.184338.patch
Type: text/x-patch
Size: 251 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20190130/c849c48b/attachment-0001.bin>


More information about the libcxx-commits mailing list