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