| 22 | { |
| 23 | |
| 24 | void Module::add(std::unique_ptr<loco::Graph> &&g) |
| 25 | { |
| 26 | if (g.get() == nullptr) |
| 27 | throw std::invalid_argument("Module: Graph cannot be null"); |
| 28 | |
| 29 | _graphs.emplace_back(std::move(g)); |
| 30 | } |
| 31 | |
| 32 | loco::Graph *Module::graph(void) const |
| 33 | { |