File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 43
43
#include " rmw/get_topic_endpoint_info.h"
44
44
#include " rmw/impl/cpp/macros.hpp"
45
45
46
+ using namespace std ::placeholders;
47
+
46
48
namespace
47
49
{
48
50
// /=============================================================================
@@ -74,7 +76,7 @@ void client_data_handler(
74
76
}
75
77
76
78
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 ();
78
80
79
81
sub_data->add_new_reply (
80
82
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)
91
93
return ;
92
94
}
93
95
}
94
- }
96
+ } // namespace
95
97
96
98
namespace rmw_zenoh_cpp
97
99
{
@@ -445,8 +447,6 @@ rmw_ret_t ClientData::send_request(
445
447
reinterpret_cast <const uint8_t *>(request_bytes) + data_length);
446
448
opts.payload = zenoh::Bytes (std::move (raw_bytes));
447
449
448
- using namespace std ::placeholders;
449
-
450
450
std::weak_ptr<rmw_zenoh_cpp::ClientData> client_data = shared_from_this ();
451
451
zenoh::ZResult result;
452
452
std::string parameters;
You can’t perform that action at this time.
0 commit comments