Skip to content

Commit

Permalink
Fixed clang-tidy warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
FlorianReimold committed May 7, 2024
1 parent 8ebe6c8 commit d67a2d2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ecal/service/ecal_service/src/client_session_impl_v0.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion ecal/service/ecal_service/src/client_session_impl_v1.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d67a2d2

Please sign in to comment.