Skip to content
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

stdcxx: eliminate excessive use of std::string::c_str() #775

Merged
merged 1 commit into from
Dec 30, 2021
Merged

stdcxx: eliminate excessive use of std::string::c_str() #775

merged 1 commit into from
Dec 30, 2021

Conversation

anpol
Copy link
Contributor

@anpol anpol commented Dec 30, 2021

It could be more clear and slightly more efficient not to convert an
std::string into a C-style string whenever possible.

It could be more clear and slightly more efficient not to convert an
`std::string` into a C-style string whenever possible.
@codecov-commenter
Copy link

codecov-commenter commented Dec 30, 2021

Codecov Report

Merging #775 (eb2bbf4) into master (43fc3bf) will decrease coverage by 0.01%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #775      +/-   ##
==========================================
- Coverage   72.66%   72.65%   -0.02%     
==========================================
  Files          17       17              
  Lines        3245     3247       +2     
==========================================
+ Hits         2358     2359       +1     
- Misses        887      888       +1     
Impacted Files Coverage Δ
src/logging.cc 73.39% <100.00%> (-0.04%) ⬇️
src/glog/logging.h.in 80.00% <0.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 43fc3bf...eb2bbf4. Read the comment docs.

@sergiud sergiud added this to the 0.6 milestone Dec 30, 2021
@sergiud
Copy link
Collaborator

sergiud commented Dec 30, 2021

Thanks!

@sergiud sergiud merged commit a8cfbe0 into google:master Dec 30, 2021
@anpol anpol deleted the stdcxx-eliminate-c-str branch December 30, 2021 11:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants