From d67a2d22fd51159e24d42911502e19b2574ce34c Mon Sep 17 00:00:00 2001 From: Florian Reimold <11774314+FlorianReimold@users.noreply.github.com> Date: Tue, 7 May 2024 14:17:04 +0200 Subject: [PATCH] Fixed clang-tidy warnings --- ecal/service/ecal_service/src/client_session_impl_v0.cpp | 2 +- ecal/service/ecal_service/src/client_session_impl_v1.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ecal/service/ecal_service/src/client_session_impl_v0.cpp b/ecal/service/ecal_service/src/client_session_impl_v0.cpp index 10e98ce998..de123b9e3f 100644 --- a/ecal/service/ecal_service/src/client_session_impl_v0.cpp +++ b/ecal/service/ecal_service/src/client_session_impl_v0.cpp @@ -435,7 +435,7 @@ namespace eCAL // form remote endpoint string { asio::error_code ec; - const auto endpoint = socket_.remote_endpoint(ec); + auto endpoint = socket_.remote_endpoint(ec); if (!ec) return endpoint; else diff --git a/ecal/service/ecal_service/src/client_session_impl_v1.cpp b/ecal/service/ecal_service/src/client_session_impl_v1.cpp index f6b44ae3b9..576a3f3c5b 100644 --- a/ecal/service/ecal_service/src/client_session_impl_v1.cpp +++ b/ecal/service/ecal_service/src/client_session_impl_v1.cpp @@ -562,7 +562,7 @@ namespace eCAL // form remote endpoint string { asio::error_code ec; - const auto endpoint = socket_.remote_endpoint(ec); + auto endpoint = socket_.remote_endpoint(ec); if (!ec) return endpoint; else