Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2d7813a4 authored by Yi Kong's avatar Yi Kong Committed by android-build-merger
Browse files

Merge "Add virtual dtor for virtual classes"

am: 27f61a94

Change-Id: Ic45e81f483e31b01abe6195bd63174c8253b82ae
parents e3428dae 27f61a94
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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);

+1 −1
Original line number Diff line number Diff line
@@ -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;