-
Notifications
You must be signed in to change notification settings - Fork 44
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
Remove explicitly-defined copy constructor/operator #328
Conversation
Signed-off-by: Michael Carroll <michael@openrobotics.org>
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.
do we need to tick-tock this methods?
Signed-off-by: Michael Carroll <michael@openrobotics.org>
The corresponding methods should be created by the compiler in these cases. Furthermore, I'm not entirely convinced that some of these were doing the right thing. The assignment operator is assuming that the RHS was of the same type, even when that wouldn't have been the same. |
Codecov Report
@@ Coverage Diff @@
## main #328 +/- ##
==========================================
+ Coverage 75.73% 76.07% +0.33%
==========================================
Files 129 129
Lines 5762 5726 -36
==========================================
- Hits 4364 4356 -8
+ Misses 1398 1370 -28
Continue to review full report at Codecov.
|
Not a great sign from codecov, either 😅
|
there are pre-existing failures on |
Backport from main. Signed-off-by: Michael Carroll <michael@openrobotics.org>
Signed-off-by: Michael Carroll <michael@openrobotics.org>
Backport from main. Signed-off-by: Michael Carroll <michael@openrobotics.org>
Backport from main. Signed-off-by: Michael Carroll <michael@openrobotics.org>
Cleans up warnings eg:
Signed-off-by: Michael Carroll michael@openrobotics.org.