From: Jonathan Wakely Date: Wed, 11 Nov 2015 17:29:39 +0000 (+0000) Subject: * libsupc++/new_handler.cc: Fix for explicit constructor change. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c5bd8d521a810aea68cd831bcc2964dfb24b7d1d;p=gcc.git * libsupc++/new_handler.cc: Fix for explicit constructor change. From-SVN: r230184 --- diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index aba4f7e2612..8f8f20cc16c 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 a09012c8db4..4da48b3c21d 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