summaryrefslogtreecommitdiffstats
path: root/libstdc++-v3/include/bits/std_ostream.h
diff options
context:
space:
mode:
Diffstat (limited to 'libstdc++-v3/include/bits/std_ostream.h')
-rw-r--r--libstdc++-v3/include/bits/std_ostream.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/libstdc++-v3/include/bits/std_ostream.h b/libstdc++-v3/include/bits/std_ostream.h
index 5719854ea54..e8efb3b249e 100644
--- a/libstdc++-v3/include/bits/std_ostream.h
+++ b/libstdc++-v3/include/bits/std_ostream.h
@@ -57,7 +57,7 @@ namespace std
typedef basic_streambuf<_CharT, _Traits> __streambuf_type;
typedef basic_ios<_CharT, _Traits> __ios_type;
typedef basic_ostream<_CharT, _Traits> __ostream_type;
- typedef ostreambuf_iterator<_CharT> __ostreambuf_iter;
+ typedef ostreambuf_iterator<_CharT, _Traits> __ostreambuf_iter;
typedef num_put<_CharT, __ostreambuf_iter> __numput_type;
typedef ctype<_CharT> __ctype_type;
@@ -67,8 +67,7 @@ namespace std
{ this->init(__sb); }
virtual
- ~basic_ostream()
- { _M_fnumput = NULL; }
+ ~basic_ostream() { }
// 27.6.2.3 Prefix/suffix:
class sentry;
OpenPOWER on IntegriCloud