Skip to content

Commit

Permalink
attempting to fix msvc build.
Browse files Browse the repository at this point in the history
  • Loading branch information
klemens-morgenstern committed Dec 20, 2024
1 parent ba2124a commit f6d875d
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/process_handle.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ using basic_process_handle = detail::basic_process_handle_win<Executor>;
#if defined(BOOST_PROCESS_V2_PIDFD_OPEN)
template<typename Executor = net::any_io_executor>
using basic_process_handle = detail::basic_process_handle_fd<Executor>;
#elif defined(BOOST_PROCESS_V2_PDFORK)
#elif defined(BOOST_PROCESS_V2_PDFORK) || defined(BOOST_PROCESS_V2_PIPE_LAUNCHER)
template<typename Executor = net::any_io_executor>
using basic_process_handle = detail::basic_process_handle_fd_or_signal<Executor>;
#else
Expand Down
2 changes: 1 addition & 1 deletion include/boost/process/v2/stdio.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ struct process_io_binding
process_io_binding() = default;

template<typename Stream>
process_io_binding(Stream && str, decltype(std::declval<Stream>().native_handle()) = -1)
process_io_binding(Stream && str, decltype(std::declval<Stream>().native_handle()) = {})
: process_io_binding(str.native_handle())
{}

Expand Down

0 comments on commit f6d875d

Please sign in to comment.