Coding style: Prefer "#pragma once" over header guards

It's not even "modern" anymore ;)

Change-Id: Id0074f58f6ae669e09168274eab4c3c4ef7359dc
Reviewed-by: Marco Bubke <marco.bubke@theqtcompany.com>
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@theqtcompany.com>
This commit is contained in:
Eike Ziller
2016-01-22 12:20:53 +01:00
parent 58ba91b924
commit 6ddd0e579f

View File

@@ -704,6 +704,8 @@
\section2 C++ Features \section2 C++ Features
\list \list
\li Prefer \c {#pragma once} over header guards.
\li Do not use exceptions, unless you know what you do. \li Do not use exceptions, unless you know what you do.
\li Do not use RTTI (Run-Time Type Information; that is, the typeinfo \li Do not use RTTI (Run-Time Type Information; that is, the typeinfo