Skip to content

Commit

Permalink
Fixes for uncrustify 0.72
Browse files Browse the repository at this point in the history
Signed-off-by: Chris Lalancette <clalancette@openrobotics.org>
  • Loading branch information
clalancette committed Dec 13, 2021
1 parent 7546123 commit 0044c36
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion image_tools/src/cv_mat_sensor_msgs_image_type_adapter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ ROSCvMatContainer::ROSCvMatContainer(
: header_(NotNull(
unique_sensor_msgs_image.get(),
"unique_sensor_msgs_image cannot be nullptr"
).pointer->header),
).pointer->header),
frame_(
unique_sensor_msgs_image->height,
unique_sensor_msgs_image->width,
Expand Down
2 changes: 2 additions & 0 deletions quality_of_service_demo/rclcpp/src/liveliness.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,9 @@ int main(int argc, char * argv[])
auto kill_talker_timer = listener->create_wall_timer(
kill_publisher_after, [&talker, &executor, liveliness_policy_kind]() {
if (!talker) {
// *INDENT-OFF* (uncrustify 0.72 erroneously wants to remove this)
return;
// *INDENT-ON*
}
switch (liveliness_policy_kind) {
case RMW_QOS_POLICY_LIVELINESS_AUTOMATIC:
Expand Down

0 comments on commit 0044c36

Please sign in to comment.