diff options
Diffstat (limited to 'boost/iostreams/detail/buffer.hpp')
-rw-r--r-- | boost/iostreams/detail/buffer.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/boost/iostreams/detail/buffer.hpp b/boost/iostreams/detail/buffer.hpp index 35cb33c700..59617f4eb3 100644 --- a/boost/iostreams/detail/buffer.hpp +++ b/boost/iostreams/detail/buffer.hpp @@ -205,7 +205,7 @@ void basic_buffer<Ch, Alloc>::swap(basic_buffer& rhs) template<typename Ch, typename Alloc> buffer<Ch, Alloc>::buffer(std::streamsize buffer_size) - : basic_buffer<Ch, Alloc>(buffer_size) { } + : basic_buffer<Ch, Alloc>(buffer_size), ptr_(data()), eptr_(data() + buffer_size) { } template<typename Ch, typename Alloc> inline void buffer<Ch, Alloc>::set(std::streamsize ptr, std::streamsize end) |