-
-
Notifications
You must be signed in to change notification settings - Fork 4.6k
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
Getters in SampleConsensus should have const qualifiers #2959
Comments
Agreed. Feel free to open a PR with the changes. |
Thank you. One more thing from MaximumLikelihoodSampleConsensus: there are some methods like those: pcl/sample_consensus/include/pcl/sample_consensus/mlesac.h Lines 124 to 127 in d009887
pcl/sample_consensus/include/pcl/sample_consensus/mlesac.h Lines 135 to 139 in d009887
pcl/sample_consensus/include/pcl/sample_consensus/mlesac.h Lines 146 to 149 in d009887
which, I think, could also be const . What do you think?
|
Sure, these are good candidates to be marked |
Your Environment
Context
Some methods in SampleConsensus class.
pcl/sample_consensus/include/pcl/sample_consensus/sac.h
Lines 142 to 143 in d009887
pcl/sample_consensus/include/pcl/sample_consensus/sac.h
Lines 152 to 153 in d009887
pcl/sample_consensus/include/pcl/sample_consensus/sac.h
Lines 163 to 164 in d009887
Expected Behavior
Those methods should be marked as
const
.Current Behavior
const
qualifier is not present.Code to Reproduce
I think examples above are enough :)
Possible Solution
Add
const
qualifier.The text was updated successfully, but these errors were encountered: