Fix warning about non-virtual destructor.
[oota-llvm.git] / lib / Transforms / Instrumentation / MaximumSpanningTree.h
index fcfb3f5b9c58d35e5792ac1678d168993f6052e4..d84ac4b4fb367f29511c8c81aece4679f04c4929 100644 (file)
@@ -38,6 +38,7 @@ namespace llvm {
     // easier for the OptimalEdgeProfileInstrumentation to use this MST to do
     // an optimal profiling.
     MaximumSpanningTree(Function *F, ProfileInfo *PI, bool invert);
+    virtual ~MaximumSpanningTree();
 
     virtual MaxSpanTree::iterator begin();
     virtual MaxSpanTree::iterator end();