Ticket #10564: chain.patch
File chain.patch, 1.5 KB (added by , 8 years ago) |
---|
-
\boost\iostreams\chain.hpp
old new 133 133 typedef chain_client<Self> client_type; 134 134 friend class chain_client<Self>; 135 135 private: 136 typedef linked_streambuf<Ch > streambuf_type;136 typedef linked_streambuf<Ch, Tr> streambuf_type; 137 137 typedef std::list<streambuf_type*> list_type; 138 138 typedef chain_base<Self, Ch, Tr, Alloc, Mode> my_type; 139 139 protected: … … 237 237 typedef typename unwrap_ios<T>::type component_type; 238 238 typedef stream_buffer< 239 239 component_type, 240 BOOST_IOSTREAMS_CHAR_TRAITS(char_type),240 Tr, 241 241 Alloc, Mode 242 242 > streambuf_t; 243 243 typedef typename list_type::iterator iterator; … … 323 323 { 324 324 if ((flags_ & f_open) != 0) { 325 325 flags_ &= ~f_open; 326 stream_buffer< basic_null_device<Ch, Mode> > null;326 stream_buffer< basic_null_device<Ch, Mode>, Tr > null; 327 327 if ((flags_ & f_complete) == 0) { 328 328 null.open(basic_null_device<Ch, Mode>()); 329 329 set_next(links_.back(), &null);