-
Notifications
You must be signed in to change notification settings - Fork 42
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
Deprecated common:Time #90
Conversation
Codecov Report
@@ Coverage Diff @@
## master #90 +/- ##
=========================================
Coverage ? 73.78%
=========================================
Files ? 68
Lines ? 9209
Branches ? 0
=========================================
Hits ? 6795
Misses ? 2414
Partials ? 0 Continue to review full report at Codecov.
|
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 like the ideas on this PR, but I suggest we move the new functions to ign-math
.
cf46105
to
3d67a25
Compare
Signed-off-by: ahcorde <[email protected]>
3d67a25
to
a370f08
Compare
Signed-off-by: ahcorde <[email protected]>
|
Signed-off-by: ahcorde <[email protected]>
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.
We should resolve the introduced deprecation warnings before merging:
https://build.osrfoundation.org/job/ignition_common-ci-pr_any-ubuntu_auto-amd64/370/gcc/
Also, I think it would be a good idea to hold on merging this until we are sure that we can remove common::Time
from all existing API on other libraries.
@chapulina, This issue is the meta-ticket to follow all the libraries that currently are using |
Signed-off-by: ahcorde <[email protected]>
Signed-off-by: ahcorde <[email protected]>
Signed-off-by: ahcorde <[email protected]>
Signed-off-by: ahcorde <[email protected]>
I fixed the |
Signed-off-by: ahcorde <[email protected]>
Signed-off-by: ahcorde <[email protected]>
…e method Signed-off-by: ahcorde <[email protected]>
Signed-off-by: ahcorde <[email protected]>
Signed-off-by: ahcorde <[email protected]>
Signed-off-by: ahcorde <[email protected]>
@osrf-jenkins run tests |
Signed-off-by: Louise Poubel <[email protected]>
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.
LGTM with happy CI. I just have one minor comment about code duplication.
Signed-off-by: ahcorde <[email protected]>
…ics/ign-common into ahcorde/std_chrono
Signed-off-by: ahcorde <[email protected]>
@osrf-jenkins run tests |
This PR is part of this issue #61. The idea it's to deprecate the class
common::Time
in favor ofstd::chrono
.This two functions convert from
time_point
to seconds and nanoseconds and viceversa.Signed-off-by: ahcorde [email protected]