Chris Jefferson found a missing const (Bugzilla 9632)
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@128885 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -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'),
|
||||||
|
Reference in New Issue
Block a user