Remove unused <exception> header from <utility>
authorJonathan Wakely <jwakely@redhat.com>
Tue, 19 Jun 2018 17:19:16 +0000 (18:19 +0100)
committerJonathan Wakely <redi@gcc.gnu.org>
Tue, 19 Jun 2018 17:19:16 +0000 (18:19 +0100)
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.

From-SVN: r261749

libstdc++-v3/ChangeLog
libstdc++-v3/include/std/utility

index 89bcf2f5d5c0a4765f5f9830979301c561751daa..f9b5703fc254dc31bf802426d227f2eb84a5daaf 100644 (file)
@@ -1,3 +1,7 @@
+2018-06-19  Jonathan Wakely  <jwakely@redhat.com>
+
+       * include/std/utility: Remove unused <exception> header.
+
 2018-06-18  Jonathan Wakely  <jwakely@redhat.com>
 
        LWG 2975 ensure construct(pair<T,U>*, ...) used to construct pairs
index 17e7d4cbe7a916c5e506659af2b9e0170eea033e..273c0f838b800b636085ffb7db62c322172fd944 100644 (file)
 #include <bits/move.h>
 #include <initializer_list>
 
-#if __cplusplus > 201402L
-#include <exception>
-#endif
-
 namespace std _GLIBCXX_VISIBILITY(default)
 {
 _GLIBCXX_BEGIN_NAMESPACE_VERSION