Changeset 11054 for code/branches/cpp11_v3/src/libraries/core/CorePrereqs.h
- Timestamp:
- Jan 10, 2016, 1:54:11 PM (9 years ago)
- Location:
- code/branches/cpp11_v3
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/cpp11_v3
- Property svn:mergeinfo changed
-
code/branches/cpp11_v3/src/libraries/core/CorePrereqs.h
r10624 r11054 68 68 namespace orxonox 69 69 { 70 static const uint32_t OBJECTID_UNKNOWN = static_cast<uint32_t>(-1);70 static constexpr uint32_t OBJECTID_UNKNOWN = static_cast<uint32_t>(-1); 71 71 } 72 72 … … 82 82 83 83 //!A list of available scopes for the Scope template. 84 static const Value ROOT = 1;85 static const Value GRAPHICS = 2;84 static constexpr Value ROOT = 1; 85 static constexpr Value GRAPHICS = 2; 86 86 } 87 87 … … 90 90 typedef int Type; 91 91 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;92 static constexpr Type STATIC_INITIALIZATION_HANDLER = 1; 93 static constexpr Type IDENTIFIER = 2; 94 static constexpr Type SCOPED_SINGLETON_WRAPPER = 3; 95 static constexpr Type COMMAND_LINE_ARGUMENT = 4; 96 static constexpr Type CONSOLE_COMMAND = 5; 97 97 } 98 98
Note: See TracChangeset
for help on using the changeset viewer.