Skip to content

Commit 0999f2d

Browse files
committed
make linters happy
Signed-off-by: Alejandro Hernández Cordero <ahcorde@gmail.com>
1 parent d0da4a6 commit 0999f2d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

rmw_zenoh_cpp/src/detail/rmw_client_data.cpp

+4-4
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,8 @@
4343
#include "rmw/get_topic_endpoint_info.h"
4444
#include "rmw/impl/cpp/macros.hpp"
4545

46+
using namespace std::placeholders;
47+
4648
namespace
4749
{
4850
///=============================================================================
@@ -74,7 +76,7 @@ void client_data_handler(
7476
}
7577

7678
std::chrono::nanoseconds::rep received_timestamp =
77-
std::chrono::system_clock::now().time_since_epoch().count();
79+
std::chrono::system_clock::now().time_since_epoch().count();
7880

7981
sub_data->add_new_reply(
8082
std::make_unique<rmw_zenoh_cpp::ZenohReply>(reply, received_timestamp));
@@ -91,7 +93,7 @@ void client_data_drop(std::weak_ptr<rmw_zenoh_cpp::ClientData> client_data)
9193
return;
9294
}
9395
}
94-
}
96+
} // namespace
9597

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

448-
using namespace std::placeholders;
449-
450450
std::weak_ptr<rmw_zenoh_cpp::ClientData> client_data = shared_from_this();
451451
zenoh::ZResult result;
452452
std::string parameters;

0 commit comments

Comments
 (0)