Skip to content
This repository has been archived by the owner on Jun 11, 2022. It is now read-only.

Commit

Permalink
Merge pull request #117 from sehe/develop
Browse files Browse the repository at this point in the history
fix `rdbuf()` implementation on pipe
  • Loading branch information
Klemens Morgenstern committed Aug 22, 2017
2 parents 66989a2 + 3ab038f commit d15e7be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/boost/process/pipe.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,7 @@ class basic_ipstream : public std::basic_istream<CharT, Traits>
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)
Expand Down

0 comments on commit d15e7be

Please sign in to comment.