Browse Source

COMP: Added virtual destructor to ctkDependency graph

That should fix the following warning:
warning: 'class ctkDependencyGraph' has virtual functions but non-virtual destructor

See http://www.cdash.org/CDash/viewBuildError.php?type=1&buildid=642781
Jean-Christophe Fillion-Robin 15 years ago
parent
commit
06fec0e845
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Libs/Core/ctkDependencyGraph.h

+ 1 - 1
Libs/Core/ctkDependencyGraph.h

@@ -36,7 +36,7 @@ class CTK_CORE_EXPORT ctkDependencyGraph
 {
 public:
   ctkDependencyGraph(int nvertices);
-  ~ctkDependencyGraph();
+  virtual ~ctkDependencyGraph();
   
   void printAdditionalInfo();
   void printGraph();