[cfe-commits] [libcxx] r128885 - /libcxx/trunk/include/ostream

Howard Hinnant hhinnant at apple.com
Tue Apr 5 07:55:28 PDT 2011


Author: hhinnant
Date: Tue Apr  5 09:55:28 2011
New Revision: 128885

URL: http://llvm.org/viewvc/llvm-project?rev=128885&view=rev
Log:
Chris Jefferson found a missing const (Bugzilla 9632)

Modified:
    libcxx/trunk/include/ostream

Modified: libcxx/trunk/include/ostream
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/include/ostream?rev=128885&r1=128884&r2=128885&view=diff
==============================================================================
--- libcxx/trunk/include/ostream (original)
+++ libcxx/trunk/include/ostream Tue Apr  5 09:55:28 2011
@@ -1276,7 +1276,7 @@
 
 template <class _CharT, class _Traits, size_t _Size>
 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>
                         (use_facet<ctype<_CharT> >(__os.getloc()).widen('0'),





More information about the cfe-commits mailing list