From aef67438c4891b4949e5cc14f63e3bffb4039a24 Mon Sep 17 00:00:00 2001 From: melpon Date: Sat, 21 Oct 2023 13:16:25 +0900 Subject: [PATCH] Fix for unused parameter --- src/impl/tlstransport.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/impl/tlstransport.cpp b/src/impl/tlstransport.cpp index 29c08872f..b3aec3da3 100644 --- a/src/impl/tlstransport.cpp +++ b/src/impl/tlstransport.cpp @@ -62,8 +62,8 @@ void TlsTransport::Cleanup() { } TlsTransport::TlsTransport(variant, shared_ptr> lower, - optional host, certificate_ptr certificate, - optional cacert, state_callback callback) + optional host, certificate_ptr certificate, optional, + state_callback callback) : Transport(std::visit([](auto l) { return std::static_pointer_cast(l); }, lower), std::move(callback)), mHost(std::move(host)), mIsClient(std::visit([](auto l) { return l->isActive(); }, lower)), @@ -567,8 +567,8 @@ void TlsTransport::Cleanup() { } TlsTransport::TlsTransport(variant, shared_ptr> lower, - optional host, certificate_ptr certificate, - optional cacert, state_callback callback) + optional host, certificate_ptr certificate, optional, + state_callback callback) : Transport(std::visit([](auto l) { return std::static_pointer_cast(l); }, lower), std::move(callback)), mHost(std::move(host)), mIsClient(std::visit([](auto l) { return l->isActive(); }, lower)),