Skip to content

Commit b7e5649

Browse files
committed
further uncrustification
1 parent e31e3d1 commit b7e5649

File tree

5 files changed

+9
-7
lines changed

5 files changed

+9
-7
lines changed

rclcpp/include/rclcpp/publisher.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,7 @@ class Publisher : public PublisherBase
256256
// inter process publish should always take place to ensure
257257
// late joiners receive past data.
258258
bool inter_process_publish_needed =
259-
get_subscription_count() > get_intra_process_subscription_count() || buffer_;
259+
get_subscription_count() > get_intra_process_subscription_count() || buffer_;
260260

261261
// If the publisher is configured with transient local durability, we must publish
262262
// inter-process. This ensures that the RMW stores the messages for late joiner subscriptions.

rclcpp_action/include/rclcpp_action/client.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -921,7 +921,7 @@ class Client : public ClientBase
921921
hashed_guuid, result_response_callback);
922922

923923
intra_process_send_done =
924-
ipm->template intra_process_action_send_result_request<ActionT>(
924+
ipm->template intra_process_action_send_result_request<ActionT>(
925925
ipc_action_client_id_,
926926
std::move(goal_result_request));
927927
}

rclcpp_action/include/rclcpp_action/server.hpp

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
#include <string>
2222
#include <unordered_map>
2323
#include <utility>
24+
#include <vector>
2425

2526
// Check what I need
2627
#include "action_msgs/msg/goal_status_array.hpp"
@@ -640,9 +641,9 @@ class Server : public ServerBase, public std::enable_shared_from_this<Server<Act
640641
intra_process_action_client_id,
641642
std::move(typed_response),
642643
hashed_uuid);
643-
} else {
644-
goals_result_requested_.push_back(hashed_uuid);
645-
}
644+
} else {
645+
goals_result_requested_.push_back(hashed_uuid);
646+
}
646647
}
647648

648649
bool

rclcpp_action/test/test_actions.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,7 @@ TEST_P(ActionsTest, FeedbackRace)
270270

271271
// A bit slower than the server's feedback rate
272272
rclcpp::Rate rate(
273-
static_cast<double>(test_info->server_rate_hz) * 0.4);
273+
static_cast<double>(test_info->server_rate_hz) * 0.4);
274274

275275
for (size_t i = 0; i < 10 && !test_info->result_callback_called(); i++) {
276276
rate.sleep();

rclcpp_action/test/test_transient_local.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,8 @@ TEST_P(TransientLocalPermutationTest, PublishWithNoSubs)
185185
"test_topic",
186186
rclcpp::QoS(10).transient_local(),
187187
[sub_data = sub_data](std_msgs::msg::Empty::ConstSharedPtr) {
188-
sub_data->msg_received = true;},
188+
sub_data->msg_received = true;
189+
},
189190
sub_options);
190191

191192
std::cout << "Created " << sub_data->id << std::endl;

0 commit comments

Comments
 (0)