-
Notifications
You must be signed in to change notification settings - Fork 492
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Used C++ style cast instead of C style cast #1628
Conversation
Codecov ReportBase: 50.97% // Head: 50.97% // Increases project coverage by
Additional details and impacted files@@ Coverage Diff @@
## main #1628 +/- ##
==========================================
+ Coverage 50.97% 50.97% +0.01%
==========================================
Files 378 378
Lines 31658 31653 -5
==========================================
- Hits 16135 16133 -2
+ Misses 15523 15520 -3
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
moveit_core/collision_distance_field/src/collision_distance_field_types.cpp
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for this cleanup. All casts look correct to me, just some comments before approval.
@@ -230,7 +230,7 @@ class TestOMPLConstraints : public ompl_interface_testing::LoadTestRobot, public | |||
|
|||
for (std::size_t i = 0; i < num_dofs_; ++i) | |||
{ | |||
EXPECT_EQ(joint_limits[i]->size(), (unsigned int)1); | |||
EXPECT_EQ(joint_limits[i]->size(), static_cast<unsigned int>(1)); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same here
moveit_setup_assistant/moveit_setup_srdf_plugins/src/compute_default_collisions.cpp
Outdated
Show resolved
Hide resolved
Done! |
337786a
to
809afd7
Compare
Co-authored-by: Henning Kayser <henningkayser@picknik.ai> (cherry picked from commit 99a4a43)
Description
Please explain the changes you made, including a reference to the related issue if applicable
Checklist