diff options
author | Jonathan Wakely <jwakely@redhat.com> | 2015-11-11 17:29:39 +0000 |
---|---|---|
committer | Jonathan Wakely <redi@gcc.gnu.org> | 2015-11-11 17:29:39 +0000 |
commit | c5bd8d521a810aea68cd831bcc2964dfb24b7d1d (patch) | |
tree | 8f854a283325c226e9755159c20b5b38705192ab | |
parent | f55e699d3dac1e2764920fa32bee16bfe5313ff2 (diff) | |
download | gcc-c5bd8d521a810aea68cd831bcc2964dfb24b7d1d.zip gcc-c5bd8d521a810aea68cd831bcc2964dfb24b7d1d.tar.gz gcc-c5bd8d521a810aea68cd831bcc2964dfb24b7d1d.tar.bz2 |
* libsupc++/new_handler.cc: Fix for explicit constructor change.
From-SVN: r230184
-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 |