Skip to content

Commit

Permalink
Add correct format
Browse files Browse the repository at this point in the history
auto* --> auto *
  • Loading branch information
Dyst-0 committed Feb 23, 2025
1 parent 1472604 commit f94ab55
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ros_gz_bridge/src/convert/ros_gz_interfaces.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -761,7 +761,7 @@ convert_ros_to_gz(

gz_msg.clear_model();
for(const auto & m : ros_msg.model) {
auto* model = gz_msg.add_model();
auto * model = gz_msg.add_model();
model->set_name(m.name);
convert_ros_to_gz(m.pose, *model->mutable_pose());
}
Expand Down
2 changes: 1 addition & 1 deletion ros_gz_bridge/test/utils/gz_test_msg.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1706,7 +1706,7 @@ void createTestMsg(gz::msgs::LogicalCameraImage & _msg)
createTestMsg(*_msg.mutable_pose());

for (int i = 0; i < 4; ++i) {
auto* model = _msg.add_model();
auto * model = _msg.add_model();
model->set_name("model_" + std::to_string(i));
createTestMsg(*model->mutable_pose());
}
Expand Down

0 comments on commit f94ab55

Please # to comment.