-
Notifications
You must be signed in to change notification settings - Fork 3k
nsapi_dns: Convert to Chrono #12428
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
nsapi_dns: Convert to Chrono #12428
Conversation
@kjbracey-arm, thank you for your changes. |
@@ -31,6 +31,9 @@ | |||
#include "PlatformMutex.h" | |||
#include "SingletonPtr.h" | |||
|
|||
using namespace std::chrono; | |||
using rtos::Kernel::Clock; |
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 this necessary? (I mean using rtos::Kernel::Clock;
)
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.
No, but it saves typing rtos::Kernel::
a fair few times in the file. Could just go halfway with the more conventional using namespace rtos
.
@kjbracey-arm is this PR now dependent on C++ Chrono support #12689 instead ? |
Rebased - no changes needed, but will trigger CI, at least. |
CI started |
Test run: FAILEDSummary: 1 of 3 test jobs failed Failed test jobs:
|
@kjbracey-arm Can you review unittests failures? does this need a rerun? |
CI started |
Test run: SUCCESSSummary: 6 of 6 test jobs passed |
Summary of changes
Convert DNS client code to use new APIs from #12425.
Impact of changes
Eliminate use of deprecated APIs
Migration actions required
n/a
Documentation
None
Pull request type
Test results
Reviewers