Chris Jefferson found a missing const (Bugzilla 9632)

llvm-svn: 128885
This commit is contained in:
Howard Hinnant 2011-04-05 14:55:28 +00:00
parent a069c6ce05
commit a9c7c14ebb
1 changed files with 1 additions and 1 deletions

View File

@ -1276,7 +1276,7 @@ operator<<(basic_ostream<_CharT, _Traits>& __os, shared_ptr<_Y> const& __p)
template <class _CharT, class _Traits, size_t _Size> template <class _CharT, class _Traits, size_t _Size>
basic_ostream<_CharT, _Traits>& basic_ostream<_CharT, _Traits>&
operator<<(basic_ostream<_CharT, _Traits>& __os, bitset<_Size>& __x) operator<<(basic_ostream<_CharT, _Traits>& __os, const bitset<_Size>& __x)
{ {
return __os << __x.template to_string<_CharT, _Traits> return __os << __x.template to_string<_CharT, _Traits>
(use_facet<ctype<_CharT> >(__os.getloc()).widen('0'), (use_facet<ctype<_CharT> >(__os.getloc()).widen('0'),