-
Notifications
You must be signed in to change notification settings - Fork 131
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
598 sanitizr address #599
598 sanitizr address #599
Conversation
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.
Hey @lidaobing - I've reviewed your changes and they look great!
Here's what I looked at during the review
- 🟡 General issues: 3 issues found
- 🟢 Security: all looks good
- 🟢 Testing: all looks good
- 🟢 Complexity: all looks good
Help me be more useful! Please click 👍 or 👎 on each comment to tell me if it was helpful.
service->process(inAddrFromString("127.0.0.1"), 1234, "", 0, true); | ||
} | ||
|
||
TEST(UdpDataService, SomeoneEntry) { | ||
auto core = newCoreThread(); | ||
auto service = new UdpDataService(*core.get()); | ||
auto service = std::make_unique<UdpDataService>(*core.get()); |
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.
suggestion: Use std::make_unique for consistency
In the previous line, you used make_unique, but here you used std::make_unique. For consistency and clarity, it's better to use std::make_unique in both places.
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #599 +/- ##
==========================================
+ Coverage 51.42% 51.43% +0.01%
==========================================
Files 64 64
Lines 8333 8333
==========================================
+ Hits 4285 4286 +1
+ Misses 4048 4047 -1 ☔ View full report in Codecov by Sentry. |
No description provided.