Add override keyword to setSockOptCallback (#1785)

This commit is contained in:
Muhammad 2023-09-19 09:23:33 +03:00 committed by GitHub
parent cfa0de4389
commit 078f60ca03
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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);
}