summaryrefslogtreecommitdiff
path: root/libstdc++-v3/src/strstream.cc
diff options
context:
space:
mode:
Diffstat (limited to 'libstdc++-v3/src/strstream.cc')
-rw-r--r--libstdc++-v3/src/strstream.cc9
1 files changed, 5 insertions, 4 deletions
diff --git a/libstdc++-v3/src/strstream.cc b/libstdc++-v3/src/strstream.cc
index 363d007f56c..5bbb33a441e 100644
--- a/libstdc++-v3/src/strstream.cc
+++ b/libstdc++-v3/src/strstream.cc
@@ -1,6 +1,6 @@
// strstream definitions -*- C++ -*-
-// Copyright (C) 2001, 2002, 2003 Free Software Foundation
+// Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation
//
// 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
@@ -53,8 +53,8 @@
#include <string.h>
#include <limits.h>
-namespace std
-{
+_GLIBCXX_BEGIN_NAMESPACE(std)
+
strstreambuf::strstreambuf(streamsize initial_capacity)
: _Base(), _M_alloc_fun(0), _M_free_fun(0), _M_dynamic(true),
_M_frozen(false), _M_constant(false)
@@ -413,4 +413,5 @@ namespace std
char*
strstream::str()
{ return _M_buf.str(); }
-} // namespace std
+
+_GLIBCXX_END_NAMESPACE