From ad6fe2a8b138ac118bb5767e6a4a8ce4daae1c93 Mon Sep 17 00:00:00 2001 From: Vladimir Chebotarev Date: Mon, 21 Dec 2020 10:48:26 +0300 Subject: [PATCH] Build fix. --- src/IO/HTTPCommon.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/IO/HTTPCommon.cpp b/src/IO/HTTPCommon.cpp index 39951477779..6a3ebb97734 100644 --- a/src/IO/HTTPCommon.cpp +++ b/src/IO/HTTPCommon.cpp @@ -164,7 +164,11 @@ namespace UInt16 proxy_port; bool is_proxy_https; - bool operator ==(const Key &) const = default; + bool operator ==(const Key & rhs) const + { + return std::tie(target_host, target_port, is_target_https, proxy_host, proxy_port, is_proxy_https) + == std::tie(rhs.target_host, rhs.target_port, rhs.is_target_https, rhs.proxy_host, rhs.proxy_port, rhs.is_proxy_https); + } }; private: