From ab27c0642b90a21d356adf3efaf2db79d41689d7 Mon Sep 17 00:00:00 2001 From: zhengjian Date: Wed, 31 Jan 2024 09:36:29 +0800 Subject: [PATCH] rm the comment of set_default_err_cb --- include/rest_rpc/rpc_client.hpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/include/rest_rpc/rpc_client.hpp b/include/rest_rpc/rpc_client.hpp index 9aad2cd..d1b8eb4 100644 --- a/include/rest_rpc/rpc_client.hpp +++ b/include/rest_rpc/rpc_client.hpp @@ -742,9 +742,9 @@ private: } } - // void set_default_error_cb() { - // err_cb_ = [this](asio::error_code) { async_connect(); }; - // } + void set_default_error_cb() { + err_cb_ = [this](asio::error_code) { async_connect(); }; + } bool is_ssl() const { #ifdef CINATRA_ENABLE_SSL