summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMathias Agopian <mathias@google.com>2009-07-07 12:29:17 -0700
committerMathias Agopian <mathias@google.com>2009-07-07 12:29:17 -0700
commite7c4c28d0fe9b62eacaa04d901464e501e511265 (patch)
treeed5ee7912a14d5277c722e9fdd078cef40c4ff01 /include
parent1df3bbb8d88a4e725e4a8cdcb293f1e078176f4a (diff)
downloadframeworks_native-e7c4c28d0fe9b62eacaa04d901464e501e511265.zip
frameworks_native-e7c4c28d0fe9b62eacaa04d901464e501e511265.tar.gz
frameworks_native-e7c4c28d0fe9b62eacaa04d901464e501e511265.tar.bz2
add a virtual destructor to region_rasterizer, to be on the safe side
Diffstat (limited to 'include')
-rw-r--r--include/private/ui/RegionHelper.h2
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)