-
Notifications
You must be signed in to change notification settings - Fork 661
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
Creating a single Sign protobuf object that can be used by both directions.proto and trip.proto. #3146
Conversation
Created a single sign.proto that could be shared by trip.proto and directions.proto, since they are nearly the same.
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.
The build is failing
It is always good practice to run RAD before and after in a addition to the unit and gurka
@dgearhart |
@@ -57,6 +49,14 @@ set(sources | |||
set (sources_with_warnings | |||
bssbuilder.cc | |||
dataquality.cc | |||
elevationbuilder.cc |
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.
These are the files not building on OSX with -Werror.
Both trip.proto and directions.proto have
Sign
andSignElement
objects that are very similar. I've unified these into sign.proto. No new tests are needed as existing tests should be sufficient for this refactor.Also, on Mac, -Werror is too strong for all of mjolnir, the Boost header
format.h
fails to compile with -Werror. So I addressed that issue as well.Issue
A simple refactor. Will help in the future if we have functions/methods that extract
Sign
information. (I'm planning to do this exact thing in a near PR.)Tasklist
Requirements / Relations
Link any requirements here. Other pull requests this PR is based on?