Change include guards to use #pragma once
Bug #1385360 reported by
Michi Henning
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
unity-scopes-api (Ubuntu) |
Fix Released
|
Low
|
Michi Henning |
Bug Description
We should do a pass over the code base and get rid of the old-style include guards, replacing them with #pragma once. That's a lot simpler and less error prone than having to remember to update the guard identifier every time copies a header to create a new one.
Related branches
lp:~michihenning/unity-scopes-api/pragma-once
- PS Jenkins bot (community): Approve (continuous-integration)
- Marcus Tomlinson (community): Approve
-
Diff: 21 lines (+1/-3)1 file modifiedtools/create_globalheader.py (+1/-3)
Changed in unity-scopes-api (Ubuntu): | |
importance: | Undecided → Low |
Changed in unity-scopes-api (Ubuntu): | |
assignee: | nobody → Michi Henning (michihenning) |
status: | New → In Progress |
Changed in unity-scopes-api (Ubuntu): | |
status: | In Progress → Fix Committed |
Changed in unity-scopes-api (Ubuntu): | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.