Skip to content

Commit

Permalink
added missing rename of variable.
Browse files Browse the repository at this point in the history
  • Loading branch information
klemens-morgenstern committed Oct 25, 2023
1 parent 03a348e commit 029ad73
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/boost/process/v2/detail/process_handle_windows.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -85,13 +85,13 @@ struct basic_process_handle_win

template<typename Executor1>
basic_process_handle_win(basic_process_handle_win<Executor1> && other)
: pid_(handle.pid_), handle_(std::move(other.handle_))
: pid_(other.pid_), handle_(std::move(other.handle_))
{
other.pid_ = static_cast<DWORD>(-1);
}

basic_process_handle_win(basic_process_handle_win && other)
: pid_(handle.pid_), handle_(std::move(other.handle_))
: pid_(other.pid_), handle_(std::move(other.handle_))
{
other.pid_ = static_cast<DWORD>(-1);
}
Expand Down

0 comments on commit 029ad73

Please sign in to comment.