Skip to content

Commit f9812f4

Browse files
[bugfix] uses std::is_convertible
1 parent 631f4c8 commit f9812f4

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

include/boost/process/v2/posix/fork_and_forget_launcher.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ struct fork_and_forget_launcher : default_launcher
1919

2020
template<typename ExecutionContext, typename Args, typename ... Inits>
2121
auto operator()(ExecutionContext & context,
22-
const typename std::enable_if<is_convertible<
22+
const typename std::enable_if<std::is_convertible<
2323
ExecutionContext&, net::execution_context&>::value,
2424
filesystem::path >::type & executable,
2525
Args && args,
@@ -38,7 +38,7 @@ struct fork_and_forget_launcher : default_launcher
3838
template<typename ExecutionContext, typename Args, typename ... Inits>
3939
auto operator()(ExecutionContext & context,
4040
error_code & ec,
41-
const typename std::enable_if<is_convertible<
41+
const typename std::enable_if<std::is_convertible<
4242
ExecutionContext&, net::execution_context&>::value,
4343
filesystem::path >::type & executable,
4444
Args && args,

include/boost/process/v2/posix/pdfork_launcher.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ struct pdfork_launcher : default_launcher
2424

2525
template<typename ExecutionContext, typename Args, typename ... Inits>
2626
auto operator()(ExecutionContext & context,
27-
const typename std::enable_if<is_convertible<
27+
const typename std::enable_if<std::is_convertible<
2828
ExecutionContext&, net::execution_context&>::value,
2929
filesystem::path >::type & executable,
3030
Args && args,
@@ -43,7 +43,7 @@ struct pdfork_launcher : default_launcher
4343
template<typename ExecutionContext, typename Args, typename ... Inits>
4444
auto operator()(ExecutionContext & context,
4545
error_code & ec,
46-
const typename std::enable_if<is_convertible<
46+
const typename std::enable_if<std::is_convertible<
4747
ExecutionContext&, net::execution_context&>::value,
4848
filesystem::path >::type & executable,
4949
Args && args,

include/boost/process/v2/posix/pipe_fork_launcher.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ struct pipe_fork_launcher : default_launcher
2222

2323
template<typename ExecutionContext, typename Args, typename ... Inits>
2424
auto operator()(ExecutionContext & context,
25-
const typename std::enable_if<is_convertible<
25+
const typename std::enable_if<std::is_convertible<
2626
ExecutionContext&, net::execution_context&>::value,
2727
filesystem::path >::type & executable,
2828
Args && args,
@@ -41,7 +41,7 @@ struct pipe_fork_launcher : default_launcher
4141
template<typename ExecutionContext, typename Args, typename ... Inits>
4242
auto operator()(ExecutionContext & context,
4343
error_code & ec,
44-
const typename std::enable_if<is_convertible<
44+
const typename std::enable_if<std::is_convertible<
4545
ExecutionContext&, net::execution_context&>::value,
4646
filesystem::path >::type & executable,
4747
Args && args,

0 commit comments

Comments
 (0)