@ -67,9 +67,12 @@ namespace storm {
e.setTemplateEdge(map[e.getTemplateEdge()]);
}
EdgeContainer& EdgeContainer::operator=(EdgeContainer const& other) {
EdgeContainer otherCpy(other);
this->templates = std::move(other.templates);
this->edges = std::move(other.edges);
void EdgeContainer::finalize(Model const& containingModel) {
@ -91,6 +91,7 @@ namespace storm {
EdgeContainer() = default;
EdgeContainer(EdgeContainer const& other);
EdgeContainer& operator=(EdgeContainer const& other);
void clearConcreteEdges();
std::vector<Edge> const& getConcreteEdges() const;
@ -8,5 +8,13 @@ namespace storm {
this->insert(std::make_shared<TemplateEdge>(*te));
TemplateEdgeContainer& TemplateEdgeContainer::operator=(const TemplateEdgeContainer& other) {
this->clear();
for (auto const& te : other) {
return *this;
@ -11,6 +11,7 @@ namespace storm {
struct TemplateEdgeContainer : public std::unordered_set<std::shared_ptr<TemplateEdge>> {
TemplateEdgeContainer() = default;
TemplateEdgeContainer(TemplateEdgeContainer const& other);
TemplateEdgeContainer& operator=(TemplateEdgeContainer const& other);
};