Skip to content

Commit

Permalink
make linters happy
Browse files Browse the repository at this point in the history
Signed-off-by: Alejandro Hernández Cordero <[email protected]>
  • Loading branch information
ahcorde committed Dec 12, 2024
1 parent d0da4a6 commit 0999f2d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions rmw_zenoh_cpp/src/detail/rmw_client_data.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,8 @@
#include "rmw/get_topic_endpoint_info.h"
#include "rmw/impl/cpp/macros.hpp"

using namespace std::placeholders;

namespace
{
///=============================================================================
Expand Down Expand Up @@ -74,7 +76,7 @@ void client_data_handler(
}

std::chrono::nanoseconds::rep received_timestamp =
std::chrono::system_clock::now().time_since_epoch().count();
std::chrono::system_clock::now().time_since_epoch().count();

sub_data->add_new_reply(
std::make_unique<rmw_zenoh_cpp::ZenohReply>(reply, received_timestamp));
Expand All @@ -91,7 +93,7 @@ void client_data_drop(std::weak_ptr<rmw_zenoh_cpp::ClientData> client_data)
return;
}
}
}
} // namespace

namespace rmw_zenoh_cpp
{
Expand Down Expand Up @@ -445,8 +447,6 @@ rmw_ret_t ClientData::send_request(
reinterpret_cast<const uint8_t *>(request_bytes) + data_length);
opts.payload = zenoh::Bytes(std::move(raw_bytes));

using namespace std::placeholders;

std::weak_ptr<rmw_zenoh_cpp::ClientData> client_data = shared_from_this();
zenoh::ZResult result;
std::string parameters;
Expand Down

0 comments on commit 0999f2d

Please sign in to comment.