mirror of
https://gitee.com/an-tao/drogon.git
synced 2024-11-30 02:37:57 +08:00
Add override keyword to setSockOptCallback (#1785)
This commit is contained in:
parent
cfa0de4389
commit
078f60ca03
@ -110,7 +110,7 @@ class HttpClientImpl final : public HttpClient,
|
||||
void addSSLConfigs(const std::vector<std::pair<std::string, std::string>>
|
||||
&sslConfCmds) override;
|
||||
|
||||
void setSockOptCallback(std::function<void(int)> cb)
|
||||
void setSockOptCallback(std::function<void(int)> cb) override
|
||||
{
|
||||
sockOptCallback_ = std::move(cb);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user