Changeset 7206 in orxonox.OLD for branches/std/src/lib/util/loading
- Timestamp:
- Mar 9, 2006, 10:12:18 PM (19 years ago)
- Location:
- branches/std/src/lib/util/loading
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/std/src/lib/util/loading/load_param.cc
r7203 r7206 234 234 235 235 if (root == NULL) 236 return NULL;236 return ""; 237 237 238 238 element = root->FirstChildElement( parameterName); 239 if( element == NULL) return NULL;239 if( element == NULL) return ""; 240 240 241 241 node = element->FirstChild(); … … 245 245 node = node->NextSibling(); 246 246 } 247 return NULL;247 return ""; 248 248 } 249 249 -
branches/std/src/lib/util/loading/resource_manager.cc
r7204 r7206 888 888 { 889 889 if (fileName.empty() || ResourceManager::getInstance()->getDataDir().empty()) 890 return NULL;890 return ""; 891 891 892 892 std::string retName = ResourceManager::getInstance()->getDataDir() +fileName; … … 894 894 return retName; 895 895 else 896 return NULL;896 return ""; 897 897 } 898 898
Note: See TracChangeset
for help on using the changeset viewer.