-
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
Tidy namespaces #582
Tidy namespaces #582
Conversation
187bbf1
to
b6011a8
Compare
Codecov Report
@@ Coverage Diff @@
## gz-gui8 #582 +/- ##
===========================================
- Coverage 68.10% 68.09% -0.01%
===========================================
Files 38 39 +1
Lines 5367 5372 +5
===========================================
+ Hits 3655 3658 +3
- Misses 1712 1714 +2
|
b6011a8
to
8b9677b
Compare
@osrf-jenkins retest this please |
@@ -37,191 +37,188 @@ namespace tinyxml2 | |||
class XMLElement; | |||
} | |||
|
|||
namespace gz | |||
namespace gz::gui |
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 plan to update all the libs within the gazebo ecosystem? If not, I'm slightly against making these changes so that we can keep all the libs in similar style
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.
Aspirationally, I would like to. Realistically, it takes time. I think that the more condensed looks and feels better, so moving in that direction over time seems appealing.
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.
Is there a reason we aren't starting at gz-gui7 or earlier? Will this make forward ports more painful?
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.
I think we need at least C++17, so targeting gui7 would be reasonable.
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.
let's do that. Also, we should create an issue that tracks the changes for all the other libs with a 'help wanted' label. It could be easy tasks for outside contributors
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.
Just opening another PR seems easier: #590
Signed-off-by: Michael Carroll <[email protected]>
3e5c68e
to
3290544
Compare
Housekeeping to clean up namespaces.
Remove
using namespace gz
and use nested namespace declarations where possible.