summaryrefslogtreecommitdiff
path: root/boost/process/detail/posix/async_in.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'boost/process/detail/posix/async_in.hpp')
-rw-r--r--boost/process/detail/posix/async_in.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/boost/process/detail/posix/async_in.hpp b/boost/process/detail/posix/async_in.hpp
index 7e9fb94ebd..a5599206cf 100644
--- a/boost/process/detail/posix/async_in.hpp
+++ b/boost/process/detail/posix/async_in.hpp
@@ -39,7 +39,7 @@ struct async_in_buffer : ::boost::process::detail::posix::handler_base_ext,
{
}
template <typename Executor>
- inline void on_success(Executor &exec)
+ inline void on_success(Executor)
{
auto pipe = this->pipe;
if (this->promise)
@@ -60,7 +60,7 @@ struct async_in_buffer : ::boost::process::detail::posix::handler_base_ext,
}
else
boost::asio::async_write(*pipe, buf,
- [pipe](const boost::system::error_code&ec, std::size_t size){});
+ [pipe](const boost::system::error_code&, std::size_t){});
std::move(*pipe).source().close();