summaryrefslogtreecommitdiffstats
path: root/contrib/libstdc++/src/stdexcept.cc
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/libstdc++/src/stdexcept.cc')
-rw-r--r--contrib/libstdc++/src/stdexcept.cc11
1 files changed, 6 insertions, 5 deletions
diff --git a/contrib/libstdc++/src/stdexcept.cc b/contrib/libstdc++/src/stdexcept.cc
index 5db7c68..19ac577 100644
--- a/contrib/libstdc++/src/stdexcept.cc
+++ b/contrib/libstdc++/src/stdexcept.cc
@@ -1,6 +1,6 @@
// Methods for Exception Support for -*- C++ -*-
-// Copyright (C) 1997, 1999, 2001, 2002 Free Software Foundation, Inc.
+// Copyright (C) 1997, 1999, 2001, 2002, 2005 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
@@ -15,7 +15,7 @@
// You should have received a copy of the GNU General Public License along
// with this library; see the file COPYING. If not, write to the Free
-// Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307,
+// Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
// USA.
// As a special exception, you may use this file as part of a free software
@@ -34,8 +34,8 @@
#include <string>
#include <stdexcept>
-namespace std
-{
+_GLIBCXX_BEGIN_NAMESPACE(std)
+
logic_error::logic_error(const string& __arg)
: exception(), _M_msg(__arg) { }
@@ -74,5 +74,6 @@ namespace std
underflow_error::underflow_error(const string& __arg)
: runtime_error(__arg) { }
-} // namespace std
+
+_GLIBCXX_END_NAMESPACE
OpenPOWER on IntegriCloud