| 235 | } |
| 236 | |
| 237 | IResource* ResourceManager::findByName(std::string_view _name) const |
| 238 | { |
| 239 | MapResource::const_iterator item = mResources.find(_name); |
| 240 | return (item == mResources.end()) ? nullptr : item->second; |
| 241 | } |
| 242 | |
| 243 | IResource* ResourceManager::getByName(std::string_view _name, bool _throw) const |
| 244 | { |
no test coverage detected