Changeset 3257 for code/branches/core4/src/core/CommandLine.h
- Timestamp:
- Jun 30, 2009, 3:14:45 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/core4/src/core/CommandLine.h
r3255 r3257 213 213 OrxAssert(!_getInstance().existsArgument(name), 214 214 "Cannot add a command line argument with name '" + name + "' twice."); 215 OrxAssert(MultiType(defaultValue).getType() != MT_ bool || MultiType(defaultValue).getBool() != true,215 OrxAssert(MultiType(defaultValue).getType() != MT_Type::Bool || MultiType(defaultValue).getBool() != true, 216 216 "Boolean command line arguments with positive default values are not supported." << std::endl 217 217 << "Please use SetCommandLineSwitch and adjust your argument: " << name);
Note: See TracChangeset
for help on using the changeset viewer.