diff options
author | Mathias Agopian <mathias@google.com> | 2009-07-07 12:29:17 -0700 |
---|---|---|
committer | Mathias Agopian <mathias@google.com> | 2009-07-07 12:29:17 -0700 |
commit | eb0ccd5c7ba5ea63f60a927b3e5e7f10bfacff48 (patch) | |
tree | 106f2a6da673d29cec44f32be4b0757d97cf4dac /include/private | |
parent | 94aadce3a266fc63c2ae81e67c847a89c4961ef4 (diff) | |
download | frameworks_base-eb0ccd5c7ba5ea63f60a927b3e5e7f10bfacff48.zip frameworks_base-eb0ccd5c7ba5ea63f60a927b3e5e7f10bfacff48.tar.gz frameworks_base-eb0ccd5c7ba5ea63f60a927b3e5e7f10bfacff48.tar.bz2 |
add a virtual destructor to region_rasterizer, to be on the safe side
Diffstat (limited to 'include/private')
-rw-r--r-- | include/private/ui/RegionHelper.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/private/ui/RegionHelper.h b/include/private/ui/RegionHelper.h index 6c847ff..926fddb 100644 --- a/include/private/ui/RegionHelper.h +++ b/include/private/ui/RegionHelper.h @@ -62,6 +62,8 @@ public: class region_rasterizer { friend class region_operator; virtual void operator()(const RECT& rect) = 0; + public: + virtual ~region_rasterizer() { }; }; inline region_operator(int op, const region& lhs, const region& rhs) |