Skip to content

migrate ifndef to pragma once

adrien faveraux requested to merge adrienfaveraux/kwayland-server:pragma into master

Thus, #pragma once serves the same purpose as include guards, but with several advantages, including: less code, avoidance of name clashes, and sometimes improvement in compilation speed.

Merge request reports

Loading