diff options
Diffstat (limited to 'libs/hwui/thread/TaskProcessor.h')
| -rw-r--r-- | libs/hwui/thread/TaskProcessor.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/hwui/thread/TaskProcessor.h b/libs/hwui/thread/TaskProcessor.h index 30b3719..ec6519c 100644 --- a/libs/hwui/thread/TaskProcessor.h +++ b/libs/hwui/thread/TaskProcessor.h @@ -41,7 +41,7 @@ public: bool add(const sp<Task<T> >& task); - virtual void process(const sp<TaskBase>& task) { + virtual void process(const sp<TaskBase>& task) override { sp<Task<T> > realTask = static_cast<Task<T>* >(task.get()); // This is the right way to do it but sp<> doesn't play nice // sp<Task<T> > realTask = static_cast<sp<Task<T> > >(task); |
