Advertisement
mechanicker

frameworks/base

Apr 13th, 2018
562
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.63 KB | None | 0 0
  1. commit 3a301dacab11d8c24253f1d4d2bd00cc0daa719c
  2. Author: Dhruva Krishnamurth <dhruvakm@gmail.com>
  3. Date:   Fri Apr 13 21:47:42 2018 -0700
  4.  
  5.     Fix build error on darwin
  6.  
  7. diff --git a/tools/aapt2/filter/Filter.h b/tools/aapt2/filter/Filter.h
  8. index d737dc92e87..f932f9ccc82 100644
  9. --- a/tools/aapt2/filter/Filter.h
  10. +++ b/tools/aapt2/filter/Filter.h
  11. @@ -27,7 +27,7 @@ namespace aapt {
  12.  /** A filter to be applied to a path segment. */
  13.  class IPathFilter {
  14.   public:
  15. -  ~IPathFilter() = default;
  16. +  virtual ~IPathFilter() = default;
  17.  
  18.    /** Returns true if the path should be kept. */
  19.    virtual bool Keep(const std::string& path) = 0;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement