Changeset 1879 for code/trunk/src/core/Executor.cc
- Timestamp:
- Oct 3, 2008, 2:44:46 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/src/core/Executor.cc
r1786 r1879 132 132 Executor& Executor::setDescriptionParam(unsigned int param, const std::string& description) 133 133 { 134 if (param >= 0 && param< MAX_FUNCTOR_ARGUMENTS)134 if (param < MAX_FUNCTOR_ARGUMENTS) 135 135 { 136 136 if (!this->bAddedDescriptionParam_[param]) … … 150 150 const std::string& Executor::getDescriptionParam(unsigned int param) const 151 151 { 152 if (param >= 0 && param< MAX_FUNCTOR_ARGUMENTS)152 if (param < MAX_FUNCTOR_ARGUMENTS) 153 153 return GetLocalisation(this->descriptionParam_[param]); 154 154 … … 234 234 Executor& Executor::setDefaultValue(unsigned int index, const MultiType& param) 235 235 { 236 if (index >= 0 && index< MAX_FUNCTOR_ARGUMENTS)236 if (index < MAX_FUNCTOR_ARGUMENTS) 237 237 { 238 238 this->defaultValue_[index] = param;
Note: See TracChangeset
for help on using the changeset viewer.