From c5bd8d521a810aea68cd831bcc2964dfb24b7d1d Mon Sep 17 00:00:00 2001 From: Jonathan Wakely Date: Wed, 11 Nov 2015 17:29:39 +0000 Subject: [PATCH] * libsupc++/new_handler.cc: Fix for explicit constructor change. From-SVN: r230184 --- libstdc++-v3/ChangeLog | 2 ++ libstdc++-v3/libsupc++/new_handler.cc | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index aba4f7e..8f8f20c 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,5 +1,7 @@ 2015-11-11 Jonathan Wakely + * 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. diff --git a/libstdc++-v3/libsupc++/new_handler.cc b/libstdc++-v3/libsupc++/new_handler.cc index a09012c..4da48b3 100644 --- a/libstdc++-v3/libsupc++/new_handler.cc +++ b/libstdc++-v3/libsupc++/new_handler.cc @@ -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 -- 2.7.4