Skip to content

Commit

Permalink
Fix executor_type in mock_ssl. (#467)
Browse files Browse the repository at this point in the history
* Instead of `int`, use the definition from Asio.
  • Loading branch information
greensky00 committed Aug 31, 2023
1 parent 56b0e36 commit 98cbb3f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mock_ssl.hxx
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ public:

class mock_ssl_socket {
public:
using executor_type = int;
using lowest_layer_type = asio::ip::tcp::socket;
using executor_type = lowest_layer_type::executor_type;

mock_ssl_socket(asio::ip::tcp::socket& tcp_socket,
mock_ssl_context& context)
Expand Down

0 comments on commit 98cbb3f

Please sign in to comment.