]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/boost/boost/utility/string_ref.hpp
update source to Ceph Pacific 16.2.2
[ceph.git] / ceph / src / boost / boost / utility / string_ref.hpp
index 999f1c3d6cc93a8d4ca4bfb052233ad78fc760dc..706967d93421a5d11b50a5282bed151d28a37714 100644 (file)
@@ -18,7 +18,7 @@
 
 #include <boost/config.hpp>
 #include <boost/detail/workaround.hpp>
-#include <boost/utility/ostream_string.hpp>
+#include <boost/io/ostream_put.hpp>
 #include <boost/utility/string_ref_fwd.hpp>
 #include <boost/throw_exception.hpp>
 
@@ -427,7 +427,7 @@ namespace boost {
     template<class charT, class traits>
     inline std::basic_ostream<charT, traits>&
     operator<<(std::basic_ostream<charT, traits>& os, const basic_string_ref<charT,traits>& str) {
-        return boost::ostream_string(os, str.data(), str.size());
+        return boost::io::ostream_put(os, str.data(), str.size());
         }
 
 #if 0