- Timestamp:
- May 19, 2012, 3:03:02 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/testing/src/libraries/core/CommandLineParser.h
r9222 r9224 200 200 inline void CommandLineParser::getValue<std::string>(const std::string& name, std::string* value) 201 201 { 202 *value = getArgument(name)->getValue().get String();202 *value = getArgument(name)->getValue().get<std::string>(); 203 203 } 204 204 … … 217 217 OrxAssert(!_getInstance().existsArgument(name), 218 218 "Cannot add a command line argument with name '" + name + "' twice."); 219 OrxAssert(!MultiType(defaultValue).isType<bool>() || MultiType(defaultValue).get Bool() != true,219 OrxAssert(!MultiType(defaultValue).isType<bool>() || MultiType(defaultValue).get<bool>() != 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.