inexorgame-obsolete / deprecated-cube-engine-inexor

UNMAINTAINED: Please have a look at the vulkan-renderer
https://inexor.org
zlib License
11 stars 1 forks source link

Replace all include guards with pragma once #389

Closed a-teammate closed 7 years ago

a-teammate commented 7 years ago

Include guards are error-prone (e.g. if you use the same guard twice) and furthermore are more to type and its said they are even less performant sometimes.

However #pragma once are supported for almost 5 years by the big compilers.

https://en.wikipedia.org/wiki/Pragma_once

Task: Replace in every header file include guards with pragma once

aschaeffer commented 7 years ago

Actually that's a good first bug.

fallinbryan commented 7 years ago

I would like to get involved in the open source community. May I take on this issue?

a-teammate commented 7 years ago

Sure go ahead :)