* libsupc++/new_handler.cc: Fix for explicit constructor change.
authorJonathan Wakely <jwakely@redhat.com>
Wed, 11 Nov 2015 17:29:39 +0000 (17:29 +0000)
committerJonathan Wakely <redi@gcc.gnu.org>
Wed, 11 Nov 2015 17:29:39 +0000 (17:29 +0000)
From-SVN: r230184

libstdc++-v3/ChangeLog
libstdc++-v3/libsupc++/new_handler.cc

index aba4f7e2612ab5eb12e0cb4201884b0fb741837c..8f8f20cc16c07add61912be00484954639f74305 100644 (file)
@@ -1,5 +1,7 @@
 2015-11-11  Jonathan Wakely  <jwakely@redhat.com>
 
+       * libsupc++/new_handler.cc: Fix for explicit constructor change.
+
        PR libstdc++/60421
        * include/std/thread (this_thread::sleep_for): Retry on EINTR.
        (this_thread::sleep_until): Retry if time not reached.
index a09012c8db45315408074bd399216d6999880d5a..4da48b3c21ddc422f1a81949965f312850786ee8 100644 (file)
@@ -34,7 +34,7 @@ namespace
 }
 #endif
 
-const std::nothrow_t std::nothrow = { };
+const std::nothrow_t std::nothrow = std::nothrow_t{ };
 
 using std::new_handler;
 namespace