aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/llvm/ADT/FoldingSet.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/llvm/ADT/FoldingSet.h b/include/llvm/ADT/FoldingSet.h
index eb361e9ed2..6b0463365a 100644
--- a/include/llvm/ADT/FoldingSet.h
+++ b/include/llvm/ADT/FoldingSet.h
@@ -118,7 +118,7 @@ private:
public:
FoldingSetImpl();
- ~FoldingSetImpl();
+ virtual ~FoldingSetImpl();
// Forward declaration.
class Node;
@@ -245,7 +245,7 @@ public:
}
};
-}; // End of namespace llvm.
+} // End of namespace llvm.
#endif