-
Notifications
You must be signed in to change notification settings - Fork 100
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
Replace custom SDF_* macros with GZ_* #1067
Conversation
Replace custom implementation of SDF_DEPRECATED and SDF_SUPPRESS_DEPRECATED_* macros with the GZ_* macro counterparts. Signed-off-by: Steve Peters <[email protected]>
windows CI doesn't like this |
Codecov Report
@@ Coverage Diff @@
## main #1067 +/- ##
=======================================
Coverage 83.14% 83.14%
=======================================
Files 154 154
Lines 18724 18724
=======================================
Hits 15568 15568
Misses 3156 3156
Continue to review full report at Codecov.
|
Signed-off-by: Steve Peters <[email protected]>
Signed-off-by: Steve Peters <[email protected]>
Signed-off-by: Steve Peters <[email protected]>
@@ -169,57 +170,57 @@ class SDFORMAT_VISIBLE NestedInclude | |||
/// not end with a file extension (it will not end with an extension if it | |||
/// refers to a model package). | |||
/// \deprecated Use NestedInclude::Uri() instead | |||
public: std::string uri SDF_DEPRECATED(12); | |||
public: GZ_DEPRECATED(12) std::string uri; |
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.
Should these say 13?
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.
oh, these were actually deprecated in fortress; I suppose they can be removed here. Do you mind if I do that in a separate pull request?
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.
Oh yeah I didn't pay attention to the diff. SGTM
🎉 New feature
Reduce duplicate macro definitions
Summary
Replace custom implementation of
SDF_DEPRECATED
andSDF_SUPPRESS_DEPRECATED_*
macros with theGZ_*
macro counterparts.Test it
Remove the
SDF_SUPPRESS_*
lines in InterfaceElements.cc and compile to confirm thatSDF_DEPRECATED
macro still works.Checklist
codecheck
passed (See contributing)Note to maintainers: Remember to use Squash-Merge and edit the commit message to match the pull request summary while retaining
Signed-off-by
messages.