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

Just do 'using namespace dealii' in main(). #14523

Merged
merged 1 commit into from Dec 3, 2022
Merged

Conversation

bangerth
Copy link
Member

@bangerth bangerth commented Dec 2, 2022

As pointed out to me in an email by Andrew Tadashi Salmon. The issue here is that when we run our tutorial programs through filters and then doxygen, the dealii:: part is stripped out. As a consequence, while the code is correct, if you copy-paste what you see on the website into your own program, it won't compile. Fix this by just doing using namespace dealii; in the code and using the unqualified name.

/rebuild

@tamiko tamiko merged commit 165196c into dealii:master Dec 3, 2022
@bangerth bangerth deleted the 12b-2 branch December 3, 2022 18:31
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