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

Qualify std functions everywhere #6072

Merged
merged 1 commit into from
Oct 11, 2024
Merged

Conversation

gassmoeller
Copy link
Member

Inspired by #6069, but for all the other simple functions of the std namespace I could think of. While doing this I also noticed I will have to repeat #6055, because I did not replace all the cases of pow without proper reference to std. But this PR should strictly only add std:: to a lot of places.

Just for future reference, a good regex to find cases without proper namespace: ([^:,^\\])acos( *\()
And a regex to replace: $1std::acos(. Careful when search for sin,cos,tan, since std::asin, ... are a valid strings.

@tjhei tjhei merged commit 91264fd into geodynamics:main Oct 11, 2024
8 checks passed
@gassmoeller gassmoeller deleted the qualify_sqrt branch October 13, 2024 13:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants