- Timestamp:
- May 19, 2012, 11:27:07 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/testing/src/libraries/core/CommandLineParser.h
r8858 r9222 217 217 OrxAssert(!_getInstance().existsArgument(name), 218 218 "Cannot add a command line argument with name '" + name + "' twice."); 219 OrxAssert( MultiType(defaultValue).getType() != MT_Type::Bool|| MultiType(defaultValue).getBool() != true,219 OrxAssert(!MultiType(defaultValue).isType<bool>() || MultiType(defaultValue).getBool() != true, 220 220 "Boolean command line arguments with positive default values are not supported." << endl 221 221 << "Please use SetCommandLineSwitch and adjust your argument: " << name);
Note: See TracChangeset
for help on using the changeset viewer.