diff options
Diffstat (limited to 'boost/process/pipe.hpp')
-rw-r--r-- | boost/process/pipe.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/boost/process/pipe.hpp b/boost/process/pipe.hpp index 8af776f966..3af45e05c0 100644 --- a/boost/process/pipe.hpp +++ b/boost/process/pipe.hpp @@ -262,7 +262,7 @@ public: typedef typename Traits::off_type off_type ; ///Get access to the underlying stream_buf - basic_pipebuf<CharT, Traits>* rdbuf() const {return _buf;}; + basic_pipebuf<CharT, Traits>* rdbuf() {return &_buf;}; ///Default constructor. basic_ipstream() : std::basic_istream<CharT, Traits>(nullptr) |