Changeset 11071 for code/trunk/src/libraries/core/CorePrereqs.h
- Timestamp:
- Jan 17, 2016, 10:29:21 PM (9 years ago)
- Location:
- code/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk
- Property svn:mergeinfo changed
-
code/trunk/src/libraries/core/CorePrereqs.h
r10624 r11071 38 38 #include "OrxonoxConfig.h" 39 39 #include <boost/version.hpp> 40 #include <string> 40 41 41 42 //----------------------------------------------------------------------- … … 68 69 namespace orxonox 69 70 { 70 static const uint32_t OBJECTID_UNKNOWN = static_cast<uint32_t>(-1);71 static constexpr uint32_t OBJECTID_UNKNOWN = static_cast<uint32_t>(-1); 71 72 } 72 73 … … 82 83 83 84 //!A list of available scopes for the Scope template. 84 static const Value ROOT = 1;85 static const Value GRAPHICS = 2;85 static constexpr Value ROOT = 1; 86 static constexpr Value GRAPHICS = 2; 86 87 } 87 88 … … 90 91 typedef int Type; 91 92 92 static const Type STATIC_INITIALIZATION_HANDLER = 1;93 static const Type IDENTIFIER = 2;94 static const Type SCOPED_SINGLETON_WRAPPER = 3;95 static const Type COMMAND_LINE_ARGUMENT = 4;96 static const Type CONSOLE_COMMAND = 5;93 static constexpr Type STATIC_INITIALIZATION_HANDLER = 1; 94 static constexpr Type IDENTIFIER = 2; 95 static constexpr Type SCOPED_SINGLETON_WRAPPER = 3; 96 static constexpr Type COMMAND_LINE_ARGUMENT = 4; 97 static constexpr Type CONSOLE_COMMAND = 5; 97 98 } 98 99
Note: See TracChangeset
for help on using the changeset viewer.