aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Wakely <jwakely@redhat.com>2018-06-19 17:32:50 +0000
committerJonathan Wakely <jwakely@redhat.com>2018-06-19 17:32:50 +0000
commit70d0338b817e83b7a37eb3d15875dbe01018d433 (patch)
tree596ee933cde101f51ec313dce7e2b92addfd848d
parent60e4084a4805c4e49f89c02611f6662c52dbe37d (diff)
Remove unused <exception> header from <utility>
This header was needed for the declaration of std::terminate but the calls to it were removed in r242401. * include/std/utility: Remove unused <exception> header. git-svn-id: https://gcc.gnu.org/svn/gcc/branches/gcc-7-branch@261752 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r--libstdc++-v3/ChangeLog4
-rw-r--r--libstdc++-v3/include/std/utility4
2 files changed, 4 insertions, 4 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog
index 2634664576c..0a8f9091ded 100644
--- a/libstdc++-v3/ChangeLog
+++ b/libstdc++-v3/ChangeLog
@@ -1,3 +1,7 @@
+2018-06-19 Jonathan Wakely <jwakely@redhat.com>
+
+ * include/std/utility: Remove unused <exception> header.
+
2018-06-15 Jonathan Wakely <jwakely@redhat.com>
PR libstdc++/86169
diff --git a/libstdc++-v3/include/std/utility b/libstdc++-v3/include/std/utility
index 978acb747e9..847e5184c5b 100644
--- a/libstdc++-v3/include/std/utility
+++ b/libstdc++-v3/include/std/utility
@@ -75,10 +75,6 @@
#include <bits/move.h>
#include <initializer_list>
-#if __cplusplus > 201402L
-#include <exception>
-#endif
-
namespace std _GLIBCXX_VISIBILITY(default)
{
_GLIBCXX_BEGIN_NAMESPACE_VERSION