mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-04 07:32:13 +00:00
A class that is meant to be a base class should have a virtual destructor
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13470 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
8436c21ad1
commit
1c2f68631e
@ -28,6 +28,8 @@ struct ListReducer {
|
||||
KeepPrefix, // The prefix alone satisfies the predicate
|
||||
};
|
||||
|
||||
virtual ~ListReducer() {}
|
||||
|
||||
// doTest - This virtual function should be overriden by subclasses to
|
||||
// implement the test desired. The testcase is only required to test to see
|
||||
// if the Kept list still satisfies the property, but if it is going to check
|
||||
|
Loading…
x
Reference in New Issue
Block a user