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

Replace include header guards with pragma once #3138

Closed
andy31415 opened this issue Oct 8, 2020 · 1 comment · Fixed by #3182
Closed

Replace include header guards with pragma once #3138

andy31415 opened this issue Oct 8, 2020 · 1 comment · Fixed by #3182
Assignees

Comments

@andy31415
Copy link
Contributor

Problem

Include header guards are more typing, pollute the global define space, have a chance to mistmatch ending comments (if we ever rename and copy&paste).

#pragma once is supported most compilers already, let's use it.

Proposed Solution

replace header include guards with pragma once.

@andy31415 andy31415 self-assigned this Oct 8, 2020
@issue-label-bot
Copy link

Issue-Label Bot is automatically applying the label feature_request to this issue, with a confidence of 0.91. Please mark this comment with 👍 or 👎 to give our bot feedback!

Links: app homepage, dashboard and code for this bot.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant