forked from OSchip/llvm-project
Chris Jefferson found a missing const (Bugzilla 9632)
llvm-svn: 128885
This commit is contained in:
parent
a069c6ce05
commit
a9c7c14ebb
|
@ -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'),
|
||||||
|
|
Loading…
Reference in New Issue