updated build system
This commit is contained in:
		| @@ -197,8 +197,8 @@ auto packet_client::send(std::string_view method, packet &request, | ||||
|  | ||||
|         timeout request_timeout( | ||||
|             [method, current_client]() { | ||||
|               event_system::instance().raise<packet_client_timeout>("request", | ||||
|                                                                     method); | ||||
|               event_system::instance().raise<packet_client_timeout>( | ||||
|                   "request", std::string{method}); | ||||
|               packet_client::close(*current_client); | ||||
|             }, | ||||
|             std::chrono::seconds(send_timeout_)); | ||||
| @@ -219,8 +219,8 @@ auto packet_client::send(std::string_view method, packet &request, | ||||
|  | ||||
|         timeout response_timeout( | ||||
|             [method, current_client]() { | ||||
|               event_system::instance().raise<packet_client_timeout>("response", | ||||
|                                                                     method); | ||||
|               event_system::instance().raise<packet_client_timeout>( | ||||
|                   "response", std::string{method}); | ||||
|               packet_client::close(*current_client); | ||||
|             }, | ||||
|             std::chrono::seconds(receive_timeout_)); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user