[Orxonox-commit 2599] r7304 - code/branches/doc/src/libraries/core

rgrieder at orxonox.net rgrieder at orxonox.net
Tue Aug 31 23:46:24 CEST 2010


Author: rgrieder
Date: 2010-08-31 23:46:24 +0200 (Tue, 31 Aug 2010)
New Revision: 7304

Modified:
   code/branches/doc/src/libraries/core/Identifier.h
Log:
The C++ preprocessor can only deal with numbers, no 'true' and 'false'.

Modified: code/branches/doc/src/libraries/core/Identifier.h
===================================================================
--- code/branches/doc/src/libraries/core/Identifier.h	2010-08-31 21:44:09 UTC (rev 7303)
+++ code/branches/doc/src/libraries/core/Identifier.h	2010-08-31 21:46:24 UTC (rev 7304)
@@ -302,9 +302,9 @@
     template <class T>
     class ClassIdentifier : public Identifier
     {
-        #if true // doxygen workaround: doxygen ignores the following #include because of this #if, removes some warnings
-        #define SUPER_INTRUSIVE_DECLARATION_INCLUDE
-        #include "Super.h"
+        #ifndef DOXYGEN_SHOULD_SKIP_THIS
+          #define SUPER_INTRUSIVE_DECLARATION_INCLUDE
+          #include "Super.h"
         #endif
 
         public:




More information about the Orxonox-commit mailing list