Skip to content

Commit

Permalink
fix np constructor
Browse files Browse the repository at this point in the history
  • Loading branch information
youyuanwu committed Jan 21, 2024
1 parent 65abb58 commit 6413275
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/boost/winasio/named_pipe/named_pipe.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ class named_pipe : public boost::asio::windows::basic_stream_handle<Executor> {
typedef std::string endpoint_type;
typedef boost::asio::windows::basic_stream_handle<executor_type> parent_type;

named_pipe(executor_type &ex)
named_pipe(const executor_type &ex)
: boost::asio::windows::basic_stream_handle<executor_type>(ex) {}

template <typename ExecutionContext>
Expand Down

0 comments on commit 6413275

Please sign in to comment.