diff options
-rw-r--r-- | libstdc++-v3/ChangeLog | 2 | ||||
-rw-r--r-- | libstdc++-v3/libsupc++/new_handler.cc | 2 |
2 files changed, 3 insertions, 1 deletions
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 <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. 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 |