Merge "Add virtual dtor for virtual classes"
This commit is contained in:
@@ -33,6 +33,8 @@ namespace aapt {
|
||||
*/
|
||||
class AbiFilter : public IPathFilter {
|
||||
public:
|
||||
virtual ~AbiFilter() = default;
|
||||
|
||||
/** Factory method to create a filter from a list of configuration::Abi. */
|
||||
static std::unique_ptr<AbiFilter> FromAbiList(const std::vector<configuration::Abi>& abi_list);
|
||||
|
||||
|
||||
@@ -27,7 +27,7 @@ namespace aapt {
|
||||
/** A filter to be applied to a path segment. */
|
||||
class IPathFilter {
|
||||
public:
|
||||
~IPathFilter() = default;
|
||||
virtual ~IPathFilter() = default;
|
||||
|
||||
/** Returns true if the path should be kept. */
|
||||
virtual bool Keep(const std::string& path) = 0;
|
||||
|
||||
Reference in New Issue
Block a user