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

Avoid use of taking .c_str() just to convert back to std::string. #5236

Merged
merged 1 commit into from Jul 9, 2023

Conversation

bangerth
Copy link
Contributor

@bangerth bangerth commented Jul 9, 2023

This is all in places where a function wants a string, we have a string, we ask for its .c_str(), which is then converted back to a string. This is not necessary.

@gassmoeller gassmoeller merged commit a153bb8 into geodynamics:main Jul 9, 2023
6 checks passed
@bangerth bangerth deleted the c_str branch July 10, 2023 01:42
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.

None yet

2 participants