Skip to content

Commit

Permalink
windows move handle fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
klemens-morgenstern committed Oct 3, 2023
1 parent 4e69906 commit f4616bb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion include/boost/process/v2/detail/process_handle_windows.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ struct basic_process_handle_win

template<typename Executor1>
basic_process_handle_win(basic_process_handle_win<Executor1> && handle)
: pid_(handle.pid_), handle_(handle.handle_.get_executor())
: pid_(handle.pid_), handle_(std::move(handle.handle_))
{
}

Expand Down
2 changes: 1 addition & 1 deletion test/v2/target.cpp
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#include <iostream>
#include <string>
#include <thread>
#include <boost/process/v2/environment.hpp>
#include <boost/asio/steady_timer.hpp>
#include <boost/process/v2/environment.hpp>

extern char **environ;

Expand Down

0 comments on commit f4616bb

Please sign in to comment.