Skip to content

Add pragma once#8

Merged
DanRStevens merged 8 commits intomainfrom
addPragmaOnce
Nov 19, 2025
Merged

Add pragma once#8
DanRStevens merged 8 commits intomainfrom
addPragmaOnce

Conversation

@DanRStevens
Copy link
Member

Add #pragma once to header files, and normalize blank lines around includes.

Related:

This header was transitively included by the previous include. We should be explicit with all includes. Mind you, the old code lacked `#pragma once`, so there may have been a reason it was commented out and so only included once.

Of course we can also switch to a forward declare for this particular include. Though we may want to do that separately, and verify includes are appropriate for switching to forward declares.
@DanRStevens DanRStevens merged commit 188f360 into main Nov 19, 2025
2 checks passed
@DanRStevens DanRStevens deleted the addPragmaOnce branch November 19, 2025 01:12
@DanRStevens DanRStevens mentioned this pull request Nov 20, 2025
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.

1 participant