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

Commit

Permalink
typo fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
klemens-morgenstern committed Oct 26, 2018
1 parent 69c04d5 commit f3b2c0a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions include/boost/process/pipe.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ struct basic_pipebuf : std::basic_streambuf<CharT, Traits>
return false;

auto base = this->pbase();
auto wrt = _pipe.write(base,
std::ptrdiff_t wrt = _pipe.write(base,
static_cast<typename pipe_type::int_type>(this->pptr() - base));
std::ptrdiff_t diff = this->pptr() - base;

Expand Down Expand Up @@ -272,7 +272,7 @@ class basic_ipstream : public std::basic_istream<CharT, Traits>
///Copy constructor.
basic_ipstream(const basic_ipstream & ) = delete;
///Move constructor.
basic_ipstream(basic_ipstream && lhs) : std::basic_istream<CharT, Traits>(nullptr), _buf(std::move(p))
basic_ipstream(basic_ipstream && lhs) : std::basic_istream<CharT, Traits>(nullptr), _buf(std::move(lhs._buf))
{
std::basic_istream<CharT, Traits>::rdbuf(&_buf);
}
Expand Down Expand Up @@ -356,7 +356,7 @@ class basic_opstream : public std::basic_ostream<CharT, Traits>
///Copy constructor.
basic_opstream(const basic_opstream & ) = delete;
///Move constructor.
basic_opstream(basic_opstream && lhs) : std::basic_ostream<CharT, Traits>(nullptr), _buf(std::move(p))
basic_opstream(basic_opstream && lhs) : std::basic_ostream<CharT, Traits>(nullptr), _buf(std::move(lhs._buf))
{
std::basic_ostream<CharT, Traits>::rdbuf(&_buf);
}
Expand Down Expand Up @@ -439,7 +439,7 @@ class basic_pstream : public std::basic_iostream<CharT, Traits>
///Copy constructor.
basic_pstream(const basic_pstream & ) = delete;
///Move constructor.
basic_pstream(basic_pstream && lhs) : std::basic_iostream<CharT, Traits>(nullptr), _buf(std::move(p))
basic_pstream(basic_pstream && lhs) : std::basic_iostream<CharT, Traits>(nullptr), _buf(std::move(lhs._buf))
{
std::basic_iostream<CharT, Traits>::rdbuf(&_buf);
}
Expand Down

0 comments on commit f3b2c0a

Please sign in to comment.