aboutsummaryrefslogtreecommitdiff
path: root/include/llvm/ADT/DeltaAlgorithm.h
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2009-12-09 07:19:48 +0000
committerDaniel Dunbar <daniel@zuster.org>2009-12-09 07:19:48 +0000
commit022840e9608207305a2e0488763f06fb1b5ad5e5 (patch)
tree5c0b8f7c0fc1134135abc061b6c883cc28a5cfaa /include/llvm/ADT/DeltaAlgorithm.h
parente18b97121c286eeff5efe89150b093bf1b7b7bfc (diff)
DeltaAlgorithm: Add a virtual destructor and home.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@90957 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/ADT/DeltaAlgorithm.h')
-rw-r--r--include/llvm/ADT/DeltaAlgorithm.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/llvm/ADT/DeltaAlgorithm.h b/include/llvm/ADT/DeltaAlgorithm.h
index 0cf7c7c466..1facfa0c44 100644
--- a/include/llvm/ADT/DeltaAlgorithm.h
+++ b/include/llvm/ADT/DeltaAlgorithm.h
@@ -78,6 +78,8 @@ protected:
virtual bool ExecuteOneTest(const changeset_ty &S) = 0;
public:
+ virtual ~DeltaAlgorithm();
+
/// Run - Minimize the set \arg Changes by executing \see ExecuteOneTest() on
/// subsets of changes and returning the smallest set which still satisfies
/// the test predicate.