diff --git a/utils/http.cc b/utils/http.cc index 96d12f24c4..db1b12e44a 100644 --- a/utils/http.cc +++ b/utils/http.cc @@ -79,8 +79,6 @@ future utils::http::dns_connection_factory::connect(net::inet_ co_return co_await seastar::connect(socket_addr, {}, transport::TCP); } -utils::http::dns_connection_factory::dns_connection_factory(dns_connection_factory&&) = default; - utils::http::dns_connection_factory::dns_connection_factory(std::string host, int port, bool use_https, logging::logger& logger, shared_ptr certs) : _host(std::move(host)) , _port(port) diff --git a/utils/http.hh b/utils/http.hh index 3a49481b54..ba92f0810f 100644 --- a/utils/http.hh +++ b/utils/http.hh @@ -40,7 +40,7 @@ protected: future> get_creds(); future connect(net::inet_address address); public: - dns_connection_factory(dns_connection_factory&&); + dns_connection_factory(dns_connection_factory&&) = default; dns_connection_factory(std::string host, int port, bool use_https, logging::logger& logger, shared_ptr = {}); dns_connection_factory(std::string endpoint_url, logging::logger& logger, shared_ptr = {});