diff --git a/src/util/graph/Graph.h b/src/util/graph/Graph.h index 2a3b2ed..09d0465 100644 --- a/src/util/graph/Graph.h +++ b/src/util/graph/Graph.h @@ -19,7 +19,7 @@ namespace graph { template class Graph { public: - ~Graph(); + virtual ~Graph(); virtual Node* addNd() = 0; virtual Node* addNd(const N& pl) = 0; Edge* addEdg(Node* from, Node* to);