| 213 | } |
| 214 | |
| 215 | std::shared_ptr<ModelLibrary> ModelManagerLocal::getLibrary(const QString& name) const |
| 216 | { |
| 217 | for (auto& library : *_libraryList) { |
| 218 | if (library->isName(name)) { |
| 219 | return library; |
| 220 | } |
| 221 | } |
| 222 | |
| 223 | throw LibraryNotFound(); |
| 224 | } |
no test coverage detected