aboutsummaryrefslogtreecommitdiff
path: root/libstdc++-v3/src
diff options
context:
space:
mode:
authorBenjamin Kosnik <bkoz@redhat.com>2002-02-13 18:29:12 +0000
committerBenjamin Kosnik <bkoz@gcc.gnu.org>2002-02-13 18:29:12 +0000
commit8dba028f108fa3e61c531ae2eb9e952c685301b8 (patch)
tree1675e8ba84fa5f043df59e9da6ba426fffbf2bd0 /libstdc++-v3/src
parentce50cae8cf1a87be48067c7b974dc806256fbb63 (diff)
downloadgcc-8dba028f108fa3e61c531ae2eb9e952c685301b8.tar.gz
gcc-8dba028f108fa3e61c531ae2eb9e952c685301b8.tar.bz2
gcc-8dba028f108fa3e61c531ae2eb9e952c685301b8.zip
localename.cc: Remove stdexcept include.
2002-02-13 Benjamin Kosnik <bkoz@redhat.com> * src/localename.cc: Remove stdexcept include. * src/locale-inst.cc: Same. * src/locale.cc: Same. * src/functexcept.cc: Remove string includes. * include/std/std_bitset.h: Remove stdexcept include. * testsuite/23_containers/bitset_members.cc: Add stdexcept. From-SVN: r49740
Diffstat (limited to 'libstdc++-v3/src')
-rw-r--r--libstdc++-v3/src/functexcept.cc5
-rw-r--r--libstdc++-v3/src/locale-inst.cc1
-rw-r--r--libstdc++-v3/src/locale.cc4
-rw-r--r--libstdc++-v3/src/localename.cc4
4 files changed, 6 insertions, 8 deletions
diff --git a/libstdc++-v3/src/functexcept.cc b/libstdc++-v3/src/functexcept.cc
index 9798e8f2ca0..dab6f2f3199 100644
--- a/libstdc++-v3/src/functexcept.cc
+++ b/libstdc++-v3/src/functexcept.cc
@@ -1,4 +1,4 @@
-// Copyright (C) 2001 Free Software Foundation, Inc.
+// Copyright (C) 2001, 2002 Free Software Foundation, Inc.
//
// This file is part of the GNU ISO C++ Library. This library is free
// software; you can redistribute it and/or modify it under the
@@ -28,11 +28,10 @@
#include <bits/functexcept.h>
#include <cstdlib>
#include <exception>
+#include <stdexcept>
#include <new>
#include <typeinfo>
-#include <stdexcept>
#include <ios>
-#include <string>
namespace std
{
diff --git a/libstdc++-v3/src/locale-inst.cc b/libstdc++-v3/src/locale-inst.cc
index ff0dfd533f2..598c3c3869d 100644
--- a/libstdc++-v3/src/locale-inst.cc
+++ b/libstdc++-v3/src/locale-inst.cc
@@ -37,7 +37,6 @@
#include <cassert>
#include <limits>
#include <exception>
-#include <stdexcept>
#include <locale>
#include <istream>
#include <ostream>
diff --git a/libstdc++-v3/src/locale.cc b/libstdc++-v3/src/locale.cc
index 52091827259..0cea95b386a 100644
--- a/libstdc++-v3/src/locale.cc
+++ b/libstdc++-v3/src/locale.cc
@@ -1,4 +1,5 @@
-// Copyright (C) 1997, 1998, 1999, 2000, 2001 Free Software Foundation, Inc.
+// Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002
+// Free Software Foundation, Inc.
//
// This file is part of the GNU ISO C++ Library. This library is free
// software; you can redistribute it and/or modify it under the
@@ -31,7 +32,6 @@
#include <cctype>
#include <limits>
#include <exception>
-#include <stdexcept>
#include <locale>
#include <istream>
#include <ostream>
diff --git a/libstdc++-v3/src/localename.cc b/libstdc++-v3/src/localename.cc
index 816f7581c12..ad816486705 100644
--- a/libstdc++-v3/src/localename.cc
+++ b/libstdc++-v3/src/localename.cc
@@ -1,4 +1,5 @@
-// Copyright (C) 1997, 1998, 1999, 2000, 2001 Free Software Foundation, Inc.
+// Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002
+// Free Software Foundation, Inc.
//
// This file is part of the GNU ISO C++ Library. This library is free
// software; you can redistribute it and/or modify it under the
@@ -29,7 +30,6 @@
#include <cstring>
#include <locale>
#include <vector>
-#include <stdexcept>
namespace std
{