- Timestamp:
- Apr 12, 2008, 3:56:36 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/core2/src/orxonox/core/ConfigValueContainer.cc
r1030 r1031 153 153 { 154 154 if (!success) 155 { 155 156 COUT(1) << "Error: Config-value '" << this->varname_ << "' in " << this->sectionname_ << " is a vector." << std::endl; 157 } 156 158 else 159 { 157 160 COUT(1) << "Error: Invalid vector-index." << std::endl; 161 } 158 162 return false; 159 163 } … … 275 279 276 280 if (!success || index < 0 || index > MAX_VECTOR_INDEX) 281 { 282 if (!success) 283 { 284 COUT(1) << "Error: Config-value '" << this->varname_ << "' in " << this->sectionname_ << " is a vector." << std::endl; 285 } 286 else 287 { 288 COUT(1) << "Error: Invalid vector-index." << std::endl; 289 } 277 290 return false; 291 } 278 292 279 293 if (token.size() >= 2)
Note: See TracChangeset
for help on using the changeset viewer.