-
Notifications
You must be signed in to change notification settings - Fork 72
feat!(lanelet2_extension): introduce API versioning along with format_version #245
base: main
Are you sure you want to change the base?
Conversation
3a0d2bf
to
a7c7ee9
Compare
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.
Clang-Tidy
found issue(s) with the introduced code (1/1)
a7c7ee9
to
e795025
Compare
…_version Signed-off-by: Mamoru Sobue <[email protected]>
e795025
to
4661d4f
Compare
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.
Clang-Tidy
found issue(s) with the introduced code (1/1)
return std::nullopt; | ||
} | ||
std::string minor = match[2].str(); | ||
if (minor == "") { |
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 empty
method should be used to check for emptiness instead of comparing to an empty object
if (minor == "") { | |
if (minor.empty()) { |
} | ||
std::string minor = match[2].str(); | ||
if (minor == "") { | ||
if (match[3].str() == "") { |
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 empty
method should be used to check for emptiness instead of comparing to an empty object
if (match[3].str() == "") { | |
if (match[3].str().empty()) { |
return std::nullopt; | ||
} | ||
std::string patch = match[3].str(); | ||
if (patch == "") { |
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 empty
method should be used to check for emptiness instead of comparing to an empty object
if (patch == "") { | |
if (patch.empty()) { |
Signed-off-by: Mamoru Sobue <[email protected]>
Signed-off-by: Mamoru Sobue <[email protected]>
1916683
to
b142e1c
Compare
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.
Clang-Tidy
found issue(s) with the introduced code (1/1)
Description
https://github.com/orgs/autowarefoundation/discussions/4740
Related links
Tests performed
Notes for reviewers
Interface changes
It is preferable for the user to define format_version for their map
Effects on system behavior
Pre-review checklist for the PR author
The PR author must check the checkboxes below when creating the PR.
In-review checklist for the PR reviewers
The PR reviewers must check the checkboxes below before approval.
Post-review checklist for the PR author
The PR author must check the checkboxes below before merging.
After all checkboxes are checked, anyone who has write access can merge the PR.