Changeset 3257 for code/branches/core4/src/core/CommandLine.cc
- Timestamp:
- Jun 30, 2009, 3:14:45 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/core4/src/core/CommandLine.cc
r3255 r3257 54 54 if (bParsingFile && this->bCommandLineOnly_) 55 55 ThrowException(Argument, "Command line argument '" + getName() + "' is not allowed in files."); 56 if (value_.getType() == MT_ bool)56 if (value_.getType() == MT_Type::Bool) 57 57 { 58 58 // simulate command line switch … … 295 295 infoStr << " "; 296 296 infoStr << "--" << it->second->getName() << " "; 297 if (it->second->getValue().getType() != MT_ bool)297 if (it->second->getValue().getType() != MT_Type::Bool) 298 298 infoStr << "ARG "; 299 299 else
Note: See TracChangeset
for help on using the changeset viewer.