mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-31 12:41:49 +01:00
A class that is meant to be a base class should have a virtual destructor
llvm-svn: 13470
This commit is contained in:
parent
b1f605ab70
commit
c698aea90a
@ -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