-
Notifications
You must be signed in to change notification settings - Fork 118
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
Use fmt instead of Sprintf #3041
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.
Neat!
✔️ e2d7276 -> Azure artifacts URL |
Quality Gate passedIssues Measures |
✔️ ed854d5 -> Azure artifacts URL |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #3041 +/- ##
=======================================
Coverage 67.27% 67.28%
=======================================
Files 571 571
Lines 104911 104913 +2
=======================================
+ Hits 70579 70587 +8
+ Misses 34332 34326 -6 ☔ View full report in Codecov by Sentry. |
@@ -49,7 +49,7 @@ static void call_python_with_section(Object* pyact, Section* sec) { | |||
if (!r) { | |||
char* mes = nrnpyerr_str(); | |||
if (mes) { | |||
Fprintf(stderr, "%s\n", mes); | |||
std::cerr << mes << std::endl; |
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.
It's not obvious from the definition of Fprinf
but it does serve a purpose and using std::cerr
and std::cout
isn't ideal. See #3052.
Review missed the changes implied by using std::cerr
.
No description provided.