summaryrefslogtreecommitdiff
path: root/libs/hwui/renderthread/RenderTask.h
diff options
context:
space:
mode:
Diffstat (limited to 'libs/hwui/renderthread/RenderTask.h')
-rw-r--r--libs/hwui/renderthread/RenderTask.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/hwui/renderthread/RenderTask.h b/libs/hwui/renderthread/RenderTask.h
index 89c3a7d08a62..9ea671be5b86 100644
--- a/libs/hwui/renderthread/RenderTask.h
+++ b/libs/hwui/renderthread/RenderTask.h
@@ -73,7 +73,7 @@ typedef void* (*RunnableMethod)(void* data);
class MethodInvokeRenderTask : public RenderTask {
public:
- MethodInvokeRenderTask(RunnableMethod method)
+ explicit MethodInvokeRenderTask(RunnableMethod method)
: mMethod(method), mReturnPtr(nullptr) {}
void* payload() { return mData; }